diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-04-10 21:22:40 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-04-10 21:30:17 +0200 |
commit | 5aefe297633d1bb81fe4c045ced3b00c0cdf371f (patch) | |
tree | d2bd0e9b70dc0a6612db1a5d7368c7dd9563dc9b | |
parent | b0100b6624ed7ee68ca84fcb220a95bcee61dc11 (diff) |
Add 'Git-Dch: Short' tag to changelog parser
This omits the long description of the commit from the changelog.
-rwxr-xr-x | git-dch | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |