From 76fa85bfcbc796eb73a127f5fb8733e74b924c79 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Tue, 10 May 2016 11:38:45 +0100 Subject: [PATCH] Document lfs.skipdownloaderrors and GIT_LFS_SKIP_DOWNLOAD_ERRORS --- docs/man/git-lfs-config.5.ronn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/man/git-lfs-config.5.ronn b/docs/man/git-lfs-config.5.ronn index 1866ca99..2bc6a803 100644 --- a/docs/man/git-lfs-config.5.ronn +++ b/docs/man/git-lfs-config.5.ronn @@ -130,6 +130,20 @@ lfs option can be scoped inside the configuration for a remote. If set to "basic" then credentials will be requested before making batch requests to this url, otherwise a public request will initially be attempted. +* `lfs.skipdownloaderrors` + + Causes Git LFS not to abort the smudge filter when a download error is + encountered, which allows actions such as checkout to work when you are unable + to download the LFS content. LFS files which could not download will contain + pointer content instead. + + Note that this will result in git commands which call the smudge filter to + report success even in cases when LFS downloads fail, which may affect + scripts. + + You can also set the environment variable GIT_LFS_SKIP_DOWNLOAD_ERRORS=1 to + get the same effect. + ## SEE ALSO git-config(1), git-lfs-install(1), gitattributes(5).