summaryrefslogtreecommitdiff
path: root/git-dch
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn@debian.org>2009-06-09 17:19:46 +0200
committerGuido Günther <agx@sigxcpu.org>2009-06-09 17:20:35 +0200
commitb577f01f365d3d529ee3a823e084b1398a2bd08a (patch)
treeafe98c5e19c383c4387330b0315caa35cc916a3c /git-dch
parent4bf0f8c4d3185acf27caa9c2021f97fe805f8d70 (diff)
downloadgit-buildpackage-b577f01f365d3d529ee3a823e084b1398a2bd08a.tar.gz
git-buildpackage-b577f01f365d3d529ee3a823e084b1398a2bd08a.tar.bz2
git-buildpackage-b577f01f365d3d529ee3a823e084b1398a2bd08a.zip
Unconfuse git-dch when commit message starts with "--"
Closes: #531985
Diffstat (limited to 'git-dch')
-rwxr-xr-xgit-dch2
1 files changed, 1 insertions, 1 deletions
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)