diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-07-03 13:53:50 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-07-03 13:53:50 +0200 |
commit | 312c9b950c4e738241674aa516f9e79cdb903b14 (patch) | |
tree | 25ab00c255045d21bb22ff5bd979ff14ad902cb2 | |
parent | 53f37eb809aa1118c7f682fc2de840a427311e1b (diff) |
Use imperative for for git messages
as suggested in gh:#26.
-rw-r--r-- | gbp/scripts/import_dsc.py | 4 | ||||
-rwxr-xr-x | gbp/scripts/import_srpm.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gbp/scripts/import_dsc.py b/gbp/scripts/import_dsc.py index 4d61a19..4bd726c 100644 --- a/gbp/scripts/import_dsc.py +++ b/gbp/scripts/import_dsc.py @@ -166,7 +166,7 @@ def apply_debian_patch(repo, unpack_dir, src, options, tag): author = get_author_from_changelog(unpack_dir) committer = get_committer_from_author(author, options) commit = repo.commit_dir(unpack_dir, - "Imported Debian patch %s" % src.version, + "Import Debian patch %s" % src.version, branch = options.debian_branch, other_parents = parents, author=author, @@ -386,7 +386,7 @@ def main(argv): author = committer = {} commit = repo.commit_dir(upstream.unpacked, - "Imported %s" % msg, + "Import %s" % msg, branch, author=author, committer=committer) diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index 5013ba6..3e42f47 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -356,7 +356,7 @@ def main(argv): src_vendor = "Native" if options.native else "Upstream" msg = "%s version %s" % (src_vendor, spec.upstreamversion) src_commit = repo.commit_dir(sources.unpacked, - "Imported %s" % msg, + "Import %s" % msg, branch, author=author, committer=committer, @@ -399,7 +399,7 @@ def main(argv): if options.orphan_packaging or not sources: commit = repo.commit_dir(dirs['packaging_base'], - "Imported %s" % msg, + "Import %s" % msg, branch, author=author, committer=committer, @@ -417,7 +417,7 @@ def main(argv): shutil.copy2(os.path.join(dirs['packaging'], fname), pkgsubdir) commit = repo.commit_dir(sources.unpacked, - "Imported %s" % msg, + "Import %s" % msg, branch, other_parents=[src_commit], author=author, |