From b577f01f365d3d529ee3a823e084b1398a2bd08a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 9 Jun 2009 17:19:46 +0200 Subject: Unconfuse git-dch when commit message starts with "--" Closes: #531985 --- git-dch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-dch b/git-dch index 4c1619fb..14bb495b 100755 --- a/git-dch +++ b/git-dch @@ -68,7 +68,7 @@ def spawn_dch(msg='', author=None, email=None, newversion=False, version=None, r cmd = '%(env)s dch --no-auto-nmu %(distopt)s %(versionopt)s ' % locals() if type(msg) == type(''): - cmd += '"%s"' % escape_commit(msg) + cmd += '-- "%s"' % escape_commit(msg) system(cmd) -- cgit v1.2.3