projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f44e5
)
git.py: Fix reference to tag
author
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 16 Aug 2007 12:20:07 +0000
(12:20 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 16 Aug 2007 12:20:07 +0000
(12:20 +0000)
lib/bb/fetch/git.py
patch
|
blob
|
history
diff --git
a/lib/bb/fetch/git.py
b/lib/bb/fetch/git.py
index
31c54d6
..
0b04840
100644
(file)
--- a/
lib/bb/fetch/git.py
+++ b/
lib/bb/fetch/git.py
@@
-51,7
+51,7
@@
class Git(Fetch):
ud.proto = ud.parm['protocol']
tag = data.getVar("SRCREV", d, 0)
- if 'tag' in ud.parm and len(
tag
) == 40:
+ if 'tag' in ud.parm and len(
ud.parm['tag']
) == 40:
ud.tag = ud.parm['tag']
elif tag and "get_srcrev" not in tag and len(tag) == 40:
ud.tag = tag