aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-dch
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-01-08 18:18:28 +0100
committerGuido Günther <agx@sigxcpu.org>2011-01-08 19:08:23 +0100
commitbfb233a94d25c6b628823d981ec3e13ffe095a8b (patch)
tree536afef1bebce463ddf6b100d6a36b54df80f826 /git-dch
parentab0607287bdcd77a1d68df10ef12dd968854bab2 (diff)
git-dch: don't add empty changelog entries with "Git-Dch: Ignore"
Diffstat (limited to 'git-dch')
-rwxr-xr-xgit-dch4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-dch b/git-dch
index d2271be0..5ba80fab 100755
--- a/git-dch
+++ b/git-dch
@@ -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)