diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 5f4ec6128c..587a16994a 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -634,9 +634,8 @@ class Git(FetchMethod): | |||
634 | 634 | ||
635 | runfetchcmd(fetch_cmd, d, workdir=dest) | 635 | runfetchcmd(fetch_cmd, d, workdir=dest) |
636 | runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest) | 636 | runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest) |
637 | # Fetch Git LFS data for fast shallow clones | 637 | # Fetch Git LFS data |
638 | if not ud.shallow_skip_fast: | 638 | self.lfs_fetch(ud, d, dest, ud.revision) |
639 | self.lfs_fetch(ud, d, dest, ud.revision) | ||
640 | 639 | ||
641 | # Apply extra ref wildcards | 640 | # Apply extra ref wildcards |
642 | all_refs_remote = runfetchcmd("%s ls-remote origin 'refs/*'" % ud.basecmd, \ | 641 | all_refs_remote = runfetchcmd("%s ls-remote origin 'refs/*'" % ud.basecmd, \ |