summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/git.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 35031d28c4..8386ecca02 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -77,6 +77,9 @@ class Git(FetchMethod):
ud.localfile = ud.mirrortarball
+ def localpath(self, url, ud, d):
+ return ud.clonedir
+
def forcefetch(self, url, ud, d):
for name in ud.names:
if not self._contains_ref(ud.revisions[name], d):