From bfb233a94d25c6b628823d981ec3e13ffe095a8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Sat, 8 Jan 2011 18:18:28 +0100 Subject: [PATCH] git-dch: don't add empty changelog entries with "Git-Dch: Ignore" --- git-dch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-dch b/git-dch index d2271be..5ba80fa 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) -- 2.7.4