diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-06 10:22:31 +0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-12-05 15:51:56 +0100 |
commit | 01470e125483d48d3257148ef96f73ad8ed43469 (patch) | |
tree | 30f01b662203fa0a71ccd05a6aafddb450f8508c /gbp/dch.py | |
parent | 76739f8000d0d1b66ace201e105e3c3c2cd6357f (diff) |
gbp-dch: fix handling of the '--meta' option
Make it effective again - previously it was totally ignored. Also,
change it's default value to True to match the current behavior.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/dch.py')
-rw-r--r-- | gbp/dch.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -115,8 +115,11 @@ def format_changelog_entry(commit_info, options, last_commit=False): if options.idlen: entry[0] = '[%s] ' % commitid[0:options.idlen] + entry[0] - (bts_cmds, body) = extract_bts_cmds(body, options) - (thanks, body) = extract_thanks_info(body, options) + bts_cmds = {} + thanks = [] + if options.meta: + (bts_cmds, body) = extract_bts_cmds(body, options) + (thanks, body) = extract_thanks_info(body, options) body = filter_ignore_rx_matches(body, options) if 'full' in git_dch_cmds or (options.full and not 'short' in git_dch_cmds): |