mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake: fetch/git: Removed unused variables in _contains_lfs
branchname was set but never used in the context of _contains_lfs method. (Bitbake rev: a64ec64c2faf1ac6ce995cdd4e311d8be6046155) Signed-off-by: Paulo Neves <paulo@myneves.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ffcc20770d
commit
d085dcb449
@@ -660,11 +660,6 @@ class Git(FetchMethod):
|
|||||||
Check if the repository has 'lfs' (large file) content
|
Check if the repository has 'lfs' (large file) content
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not ud.nobranch:
|
|
||||||
branchname = ud.branches[ud.names[0]]
|
|
||||||
else:
|
|
||||||
branchname = "master"
|
|
||||||
|
|
||||||
# The bare clonedir doesn't use the remote names; it has the branch immediately.
|
# The bare clonedir doesn't use the remote names; it has the branch immediately.
|
||||||
if wd == ud.clonedir:
|
if wd == ud.clonedir:
|
||||||
refname = ud.branches[ud.names[0]]
|
refname = ud.branches[ud.names[0]]
|
||||||
|
|||||||
Reference in New Issue
Block a user