diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 2e3d32515f..7ea8974204 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -660,11 +660,6 @@ class Git(FetchMethod): | |||
660 | Check if the repository has 'lfs' (large file) content | 660 | Check if the repository has 'lfs' (large file) content |
661 | """ | 661 | """ |
662 | 662 | ||
663 | if not ud.nobranch: | ||
664 | branchname = ud.branches[ud.names[0]] | ||
665 | else: | ||
666 | branchname = "master" | ||
667 | |||
668 | # The bare clonedir doesn't use the remote names; it has the branch immediately. | 663 | # The bare clonedir doesn't use the remote names; it has the branch immediately. |
669 | if wd == ud.clonedir: | 664 | if wd == ud.clonedir: |
670 | refname = ud.branches[ud.names[0]] | 665 | refname = ud.branches[ud.names[0]] |