projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6500ec
)
Sorted changelog entries in chronological order. fixes #55
author
Ed Bartosh
<eduard.bartosh@intel.com>
Mon, 11 Jun 2012 10:47:00 +0000
(13:47 +0300)
committer
Ed Bartosh
<eduard.bartosh@intel.com>
Mon, 11 Jun 2012 15:25:31 +0000
(18:25 +0300)
Change-Id: I7ab1b7cc9564ad8ee09d94dc6d5bb6bcdd6ab87c
gitbuildsys/cmd_changelog.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_changelog.py
b/gitbuildsys/cmd_changelog.py
index
9f15535
..
b0b9401
100644
(file)
--- a/
gitbuildsys/cmd_changelog.py
+++ b/
gitbuildsys/cmd_changelog.py
@@
-134,7
+134,9
@@
def do(opts, _args):
msger.error("Can't find last commit ID in the log, "\
"please specify it by '--since'")
- commits = repo.get_commits(commitid_since, 'HEAD')
+ commits = [info.split()[1] for info in sorted(repo.get_commits(\
+ commitid_since, 'HEAD', options=['--pretty=format:%at %H']),
+ reverse=True)]
if not commits:
msger.error("Nothing found between %s and HEAD" % commitid_since)