From a43e9b9b2c95fe7f3252fb9c6c3de861c7f8d4a6 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 17 Apr 2012 22:41:48 +0200 Subject: Git-Dch: Full in commit messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- gbp/dch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gbp/dch.py') diff --git a/gbp/dch.py b/gbp/dch.py index c481c16..ddd5e8e 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: -- cgit v1.2.3