diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 58ed1f4108..c62145770f 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -62,13 +62,7 @@ class Git(Fetch): | |||
| 62 | ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" | 62 | ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git" |
| 63 | 63 | ||
| 64 | def localpath(self, url, ud, d): | 64 | def localpath(self, url, ud, d): |
| 65 | 65 | ud.tag = ud.revision | |
| 66 | tag = Fetch.srcrev_internal_helper(ud, d) | ||
| 67 | if tag is True: | ||
| 68 | ud.tag = self.latest_revision(url, ud, d) | ||
| 69 | elif tag: | ||
| 70 | ud.tag = tag | ||
| 71 | |||
| 72 | if not ud.tag or ud.tag == "master": | 66 | if not ud.tag or ud.tag == "master": |
| 73 | ud.tag = self.latest_revision(url, ud, d) | 67 | ud.tag = self.latest_revision(url, ud, d) |
| 74 | 68 | ||
