summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgbp/scripts/rpm_changelog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/rpm_changelog.py b/gbp/scripts/rpm_changelog.py
index 8fae8a81..1aefaf6f 100755
--- a/gbp/scripts/rpm_changelog.py
+++ b/gbp/scripts/rpm_changelog.py
@@ -309,8 +309,8 @@ def update_changelog(changelog, commits, repo, spec, options):
def commit_changelog(repo, changelog, author, committer):
"""Commit changelog and create a packaging/release tag"""
repo.add_files(changelog.path)
- repo.commit_files(changelog.path, "Update changelog", author_info=author,
- committer_info=committer, edit=True)
+ repo.commit_staged("Update changelog", author_info=author,
+ committer_info=committer, edit=True)
def parse_args(argv):