diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index b2366317c8..a9470e40d8 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -125,7 +125,7 @@ class Git(FetchMethod): | |||
125 | if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): | 125 | if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): |
126 | if ud.revisions[name]: | 126 | if ud.revisions[name]: |
127 | ud.branches[name] = ud.revisions[name] | 127 | ud.branches[name] = ud.revisions[name] |
128 | ud.revisions[name] = self.latest_revision(ud.url, ud, d, name) | 128 | ud.revisions[name] = self.latest_revision(ud, d, name) |
129 | 129 | ||
130 | gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.').replace('*', '.')) | 130 | gitsrcname = '%s%s' % (ud.host.replace(':','.'), ud.path.replace('/', '.').replace('*', '.')) |
131 | # for rebaseable git repo, it is necessary to keep mirror tar ball | 131 | # for rebaseable git repo, it is necessary to keep mirror tar ball |