From 5aefe297633d1bb81fe4c045ced3b00c0cdf371f Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 10 Apr 2010 21:22:40 +0200 Subject: 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(+) (limited to 'git-dch') 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: -- cgit v1.2.3