diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-01-08 18:18:28 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-08 19:08:23 +0100 |
commit | bfb233a94d25c6b628823d981ec3e13ffe095a8b (patch) | |
tree | 536afef1bebce463ddf6b100d6a36b54df80f826 | |
parent | ab0607287bdcd77a1d68df10ef12dd968854bab2 (diff) | |
download | git-buildpackage-bfb233a94d25c6b628823d981ec3e13ffe095a8b.tar.gz git-buildpackage-bfb233a94d25c6b628823d981ec3e13ffe095a8b.tar.bz2 git-buildpackage-bfb233a94d25c6b628823d981ec3e13ffe095a8b.zip |
git-dch: don't add empty changelog entries with "Git-Dch: Ignore"
-rwxr-xr-x | git-dch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,11 +441,11 @@ def main(argv): i += 1 parsed = parse_commit(repo, c, options, last_commit = i == len(commits)) - if not parsed: + commit_msg, (commit_author, commit_email) = parsed + if not commit_msg: # Some commits can be ignored continue - commit_msg, (commit_author, commit_email) = parsed if add_section: # Add a section containing just this message (we can't # add an empty section with dch) |