projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c795a0
)
Support abstract message from GPG signed tag
author
Lin Yang
<lin.a.yang@intel.com>
Fri, 7 Sep 2012 07:26:04 +0000
(15:26 +0800)
committer
Lin Yang
<lin.a.yang@intel.com>
Fri, 7 Sep 2012 07:26:04 +0000
(15:26 +0800)
common/git.py
patch
|
blob
|
history
diff --git
a/common/git.py
b/common/git.py
index
ec67182
..
5692bc9
100644
(file)
--- a/
common/git.py
+++ b/
common/git.py
@@
-263,7
+263,7
@@
class Git:
if not line:
continue
if msgstub:
- if line.startswith('###'):
+ if line.startswith('###')
or line.startswith('-----BEGIN PGP SIGNATURE-----')
:
tag['message'] = msg[:-1]
break
else:
@@
-274,8
+274,7
@@
class Git:
tag['email'] = line[line.index(' <')+2:line.index('>')]
msgstub = True
- ret, commitid = self._exec_git('log', ["-1 --format=%H", tag_name])
- tag['commitid'] = commitid
+ tag['commitid'] = self.rev_parse(tag_name)
return tag