summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-13 11:18:48 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-13 11:35:11 +0100
commitf3292fa11723c748ef1b4270384abf6d586a822e (patch)
treed27a502bda63c62af2d6d391748c1f83bec2a89c /bitbake/lib/bb
parenta18e9b4f9336ac733265f83db68fc17659d7433c (diff)
downloadopenembedded-core-f3292fa11723c748ef1b4270384abf6d586a822e.tar.gz
openembedded-core-f3292fa11723c748ef1b4270384abf6d586a822e.tar.bz2
openembedded-core-f3292fa11723c748ef1b4270384abf6d586a822e.tar.xz
openembedded-core-f3292fa11723c748ef1b4270384abf6d586a822e.zip
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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index e77d2a5b9..9cd538854 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -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):
"""