projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc9669
)
dch: Only modify the mainttrailer when --git-author is in use
author
Bla Fasel
<agx@sigxcpu.org>
Mon, 11 Aug 2014 09:09:32 +0000
(11:09 +0200)
committer
Bla Fasel
<agx@sigxcpu.org>
Mon, 11 Aug 2014 09:09:32 +0000
(11:09 +0200)
gbp/scripts/dch.py
patch
|
blob
|
history
diff --git
a/gbp/scripts/dch.py
b/gbp/scripts/dch.py
index
4933388
..
126f3b7
100644
(file)
--- a/
gbp/scripts/dch.py
+++ b/
gbp/scripts/dch.py
@@
-89,11
+89,12
@@
def fixup_section(repo, use_git_author, options, dch_options):
else:
gbp.log.debug("Snapshot enabled: do not fixup options in header")
- for opt in mainttrailer_opts:
- if opt in dch_options:
- break
- else:
- opts.append(mainttrailer_opts[0])
+ if use_git_author:
+ for opt in mainttrailer_opts:
+ if opt in dch_options:
+ break
+ else:
+ opts.append(mainttrailer_opts[0])
ChangeLog.spawn_dch(msg='', author=author, email=email, dch_options=dch_options+opts)