summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/git.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index d462acfb36..811acbf6c6 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -81,6 +81,7 @@ class Git(FetchMethod):
81 for name in ud.names: 81 for name in ud.names:
82 # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one 82 # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
83 if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): 83 if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
84 ud.branches[name] = ud.revisions[name]
84 ud.revisions[name] = self.latest_revision(ud.url, ud, d, name) 85 ud.revisions[name] = self.latest_revision(ud.url, ud, d, name)
85 86
86 def localpath(self, url, ud, d): 87 def localpath(self, url, ud, d):