diff options
Diffstat (limited to 'bitbake')
-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 2b9f8af940..00a459d653 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -213,6 +213,7 @@ class Git(FetchMethod): | |||
213 | runfetchcmd("%s prune-packed" % ud.basecmd, d) | 213 | runfetchcmd("%s prune-packed" % ud.basecmd, d) |
214 | runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d) | 214 | runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d) |
215 | ud.repochanged = True | 215 | ud.repochanged = True |
216 | os.chdir(ud.clonedir) | ||
216 | for name in ud.names: | 217 | for name in ud.names: |
217 | if not self._contains_ref(ud.revisions[name], ud.branches[name], d): | 218 | if not self._contains_ref(ud.revisions[name], ud.branches[name], d): |
218 | raise bb.fetch2.FetchError("Unable to find revision %s in branch %s even from upstream" % (ud.revisions[name], ud.branches[name])) | 219 | raise bb.fetch2.FetchError("Unable to find revision %s in branch %s even from upstream" % (ud.revisions[name], ud.branches[name])) |