From 5aefe297633d1bb81fe4c045ced3b00c0cdf371f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Sat, 10 Apr 2010 21:22:40 +0200 Subject: [PATCH] Add 'Git-Dch: Short' tag to changelog parser This omits the long description of the commit from the changelog. --- git-dch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-dch b/git-dch index 7f76242..ec912df 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: -- 2.7.4