diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 1679f81511..b5bcfcf0a5 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -75,6 +75,7 @@ class Git(FetchMethod): | |||
75 | for name in ud.names: | 75 | for name in ud.names: |
76 | # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one | 76 | # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one |
77 | if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): | 77 | if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): |
78 | ud.branches[name] = ud.revisions[name] | ||
78 | ud.revisions[name] = self.latest_revision(ud.url, ud, d, name) | 79 | ud.revisions[name] = self.latest_revision(ud.url, ud, d, name) |
79 | 80 | ||
80 | ud.write_tarballs = (data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) or "0") != "0" | 81 | ud.write_tarballs = (data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) or "0") != "0" |