diff options
author | Guido Günther <agx@sigxcpu.org> | 2008-11-13 16:33:00 +0100 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-11-13 16:33:00 +0100 |
commit | b7f8efd990498b472de96ee4d68c9f440bbbd04d (patch) | |
tree | f265d6e379ce9b9a1cde89822bdaa7f7085aca1a /git-dch | |
parent | a6f5472e6fc3318173f3fbf02b2520ef37c20b3d (diff) |
git-dch: add missing call to escape_commit
Diffstat (limited to 'git-dch')
-rwxr-xr-x | git-dch | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -61,7 +61,7 @@ def add_changelog_section(msg, distribution, newversion=None, author=None, email env = """DEBFULLNAME="%s" DEBEMAIL="%s" """ % (author, email) else: env = "" - cmd = "%s dch --no-auto-nmu --distribution=%s %s %s" % (env, distribution, versionopt, msg) + cmd = "%s dch --no-auto-nmu --distribution=%s %s %s" % (env, distribution, versionopt, escape_commit(msg)) system(cmd) @@ -338,7 +338,9 @@ def main(argv): commit_msg = "UNRELEASED" commit_author = None commit_email = None - add_changelog_section(distribution="UNRELEASED", msg=commit_msg, newversion=options.new_version, author=commit_author, email=commit_email) + add_changelog_section(distribution="UNRELEASED", msg=commit_msg, + newversion=options.new_version, author=commit_author, + email=commit_email) if commits: shortlog_to_dch(repo, commits, options) |