bitbake/git.py: Make sure different branches can have different revisions without triggering build count increases

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-08-13 11:18:48 +01:00
parent a18e9b4f93
commit f3292fa117

View File

@@ -169,7 +169,7 @@ class Git(Fetch):
"""
Return a unique key for the url
"""
return "git:" + ud.host + ud.path.replace('/', '.')
return "git:" + ud.host + ud.path.replace('/', '.') + ud.branch
def _latest_revision(self, url, ud, d):
"""