[Buildroot] [PATCH] pkg-download: Make a shallow clone for git downloads
Peter Korsgaard
jacmet at uclibc.org
Sat Nov 3 23:57:55 UTC 2012
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:
Arnout> When downloading from git, we clone the whole repository and then only
Arnout> use the latest commit. That's a lot of redundant stuff. So instead,
Arnout> make a shallow clone. Unfortunately that's only possible when
Arnout> downloading a branch or tag, so fall back to the old method if git gives
Arnout> an error.
Arnout> This speeds up the cloning of a linux git from more than 2 hours to
Arnout> 20 minutes on a 200KB/s link).
And just think what difference it will make on the hotel Grumps
connection ;)
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list