summaryrefslogtreecommitdiff
path: root/gbp/dch.py
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2012-04-17 22:41:48 +0200
committerGuido Günther <agx@sigxcpu.org>2012-04-18 09:38:04 +0200
commita43e9b9b2c95fe7f3252fb9c6c3de861c7f8d4a6 (patch)
tree38a6629da44aa3480ef52382dbc4ff5e6e95e0d5 /gbp/dch.py
parent3b34b2626fa5e87fafb7cf326744927035794932 (diff)
downloadgit-buildpackage-a43e9b9b2c95fe7f3252fb9c6c3de861c7f8d4a6.tar.gz
git-buildpackage-a43e9b9b2c95fe7f3252fb9c6c3de861c7f8d4a6.tar.bz2
git-buildpackage-a43e9b9b2c95fe7f3252fb9c6c3de861c7f8d4a6.zip
Git-Dch: Full in commit messages
This new tag makes git-dch use the full commit message when generating the Debian changelog file, even when --full is not given. Closes: #669159 Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'gbp/dch.py')
-rw-r--r--gbp/dch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/dch.py b/gbp/dch.py
index c481c16f..ddd5e8e9 100644
--- a/gbp/dch.py
+++ b/gbp/dch.py
@@ -119,7 +119,7 @@ def format_changelog_entry(commit_info, options, last_commit=False):
(thanks, body) = extract_thanks_info(body, options)
body = filter_ignore_rx_matches(body, options)
- if options.full and not 'short' in git_dch_cmds:
+ if 'full' in git_dch_cmds or (options.full and not 'short' in git_dch_cmds):
# Add all non-blank body lines.
entry.extend([line for line in body if line.strip()])
if thanks: