kumquat-buildroot/support/download
John Keeping 338b2e58d4 support/download/git: add missing "git lfs install" invocation for LFS support
The original patch for commit cff428fe31 ("download/git: support Git
LFS") included a call to "git lfs install" but this was a problem as it
could modify ~/.gitconfig outside the dl/ tree.  When this was
updated it was thought that the modification to gitconfig was
unnecessary because the LFS fetch and checkout steps are performed
manually.

Unfortunately, this is not correct and the LFS checkout fails with:

	Cannot checkout LFS objects, Git LFS is not installed.

Add the call to "git lfs install", with the --local option so that only
the repository's .git/config is modified and not the user's global
~/.gitconfig.

This is also required for submodules as the parent repository's config
is not inherited.

Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Vincent Fazio <vfazio@xes-inc.com>
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-07 19:06:48 +01:00
..
bzr
check-hash
cvs
dl-wrapper support/download/dl-wrapper: add concept of download post-processing 2022-01-07 11:19:10 +01:00
file
git support/download/git: add missing "git lfs install" invocation for LFS support 2022-01-07 19:06:48 +01:00
helpers support/download/post-process-helpers: add helper function for post process scripts 2022-01-07 11:21:36 +01:00
hg
scp
sftp
svn
wget