projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0100b6
)
Add 'Git-Dch: Short' tag to changelog parser
author
Guido Günther
<agx@sigxcpu.org>
Sat, 10 Apr 2010 19:22:40 +0000
(21:22 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Sat, 10 Apr 2010 19:30:17 +0000
(21:30 +0200)
This omits the long description of the commit from the changelog.
git-dch
patch
|
blob
|
history
diff --git
a/git-dch
b/git-dch
index
7f76242
..
ec912df
100755
(executable)
--- a/
git-dch
+++ b/
git-dch
@@
-238,6
+238,8
@@
def parse_commit(repo, commitid, options):
if options.meta:
if git_dch == 'Ignore':
return None
+ if git_dch == 'Short':
+ msg = msg.split('\n')[0]
for bts in bugs:
closes += '(%s: %s) ' % (bts, ', '.join(bugs[bts]))
if thanks: