diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2012-11-01 02:21:05 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-04 00:55:35 +0100 |
commit | 3dd4bcf1eb55f957dba2351f3626933f06adb107 (patch) | |
tree | 0c4ed31dd05377af5ab652f55ebf000791527bb8 /board/qemu/mipsel-malta | |
parent | efc10eb6b87884f1f7917462d78af6953fcd99e3 (diff) | |
download | buildroot-novena-3dd4bcf1eb55f957dba2351f3626933f06adb107.tar.gz buildroot-novena-3dd4bcf1eb55f957dba2351f3626933f06adb107.zip |
pkg-download: Make a shallow clone for git downloads
When downloading from git, we clone the whole repository and then only
use the latest commit. That's a lot of redundant stuff. So instead,
make a shallow clone. Unfortunately that's only possible when
downloading a branch or tag, so fall back to the old method if git gives
an error.
This speeds up the cloning of a linux git from more than 2 hours to
20 minutes on a 200KB/s link).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'board/qemu/mipsel-malta')
0 files changed, 0 insertions, 0 deletions