summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index a4a1278b68..f38058bbcc 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -71,13 +71,13 @@ class Git(Fetch):
71 71
72 ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" 72 ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git"
73 73
74 def localpath(self, url, ud, d):
75 for name in ud.names: 74 for name in ud.names:
76 if not ud.revisions[name] or ud.revisions[name] == "master": 75 if not ud.revisions[name] or ud.revisions[name] == "master":
77 ud.revisions[name] = self.latest_revision(url, ud, d, name) 76 ud.revisions[name] = self.latest_revision(url, ud, d, name)
78 77
79 ud.localfile = ud.mirrortarball 78 ud.localfile = ud.mirrortarball
80 79
80 def localpath(self, url, ud, d):
81 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) 81 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
82 82
83 def forcefetch(self, url, ud, d): 83 def forcefetch(self, url, ud, d):