diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 11:18:48 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-13 11:35:11 +0100 |
| commit | f3292fa11723c748ef1b4270384abf6d586a822e (patch) | |
| tree | d27a502bda63c62af2d6d391748c1f83bec2a89c /bitbake/lib/bb/fetch/git.py | |
| parent | a18e9b4f9336ac733265f83db68fc17659d7433c (diff) | |
| download | poky-f3292fa11723c748ef1b4270384abf6d586a822e.tar.gz | |
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/fetch/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py index e77d2a5b91..9cd538854f 100644 --- a/bitbake/lib/bb/fetch/git.py +++ b/bitbake/lib/bb/fetch/git.py | |||
| @@ -169,7 +169,7 @@ class Git(Fetch): | |||
| 169 | """ | 169 | """ |
| 170 | Return a unique key for the url | 170 | Return a unique key for the url |
| 171 | """ | 171 | """ |
| 172 | return "git:" + ud.host + ud.path.replace('/', '.') | 172 | return "git:" + ud.host + ud.path.replace('/', '.') + ud.branch |
| 173 | 173 | ||
| 174 | def _latest_revision(self, url, ud, d): | 174 | def _latest_revision(self, url, ud, d): |
| 175 | """ | 175 | """ |
