[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-154-g4d096e0
David Paleino
dapal at debian.org
Fri Apr 5 10:02:12 UTC 2013
The following commit has been merged in the master branch:
commit 4d096e0b873478c7b01c5019038c646b7184da60
Author: David Paleino <dapal at debian.org>
Date: Fri Apr 5 12:02:07 2013 +0200
Fix helper script to create changelogs
diff --git a/extra/make-changelog.py b/extra/make-changelog.py
index 7bf99bc..abf5bd3 100755
--- a/extra/make-changelog.py
+++ b/extra/make-changelog.py
@@ -8,17 +8,10 @@ from textwrap import wrap
from email.Utils import formatdate
repo = git.Repo('.')
-start = git.Commit(repo, sys.argv[1])
-end = git.Commit(repo, 'HEAD')
-
-
-curlog = repo.log(end)
-oldlog = repo.log(start)
-
changelog = defaultdict(list)
-for id in repo.commits_between(start, end):
- commit = git.Commit(repo, id)
+for id in repo.iter_commits('%s..HEAD' % sys.argv[1]):
+ commit = repo.commit(id)
changelog[commit.author.name].append(commit.summary)
print 'bash-completion (X.Y)'
--
bash-completion
More information about the Bash-completion-commits
mailing list