aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-dch
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-04-10 21:22:40 +0200
committerGuido Günther <agx@sigxcpu.org>2010-04-10 21:30:17 +0200
commit5aefe297633d1bb81fe4c045ced3b00c0cdf371f (patch)
treed2bd0e9b70dc0a6612db1a5d7368c7dd9563dc9b /git-dch
parentb0100b6624ed7ee68ca84fcb220a95bcee61dc11 (diff)
Add 'Git-Dch: Short' tag to changelog parser
This omits the long description of the commit from the changelog.
Diffstat (limited to 'git-dch')
-rwxr-xr-xgit-dch2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-dch b/git-dch
index 7f762428..ec912df5 100755
--- 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: