summaryrefslogtreecommitdiff
path: root/git-shortlog
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2005-08-02 21:18:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-03 05:51:06 (GMT)
commit72d7121cc00c890c2962a5b4bff06a2af6a15df5 (patch)
treef42e21d7fa85a078e6e37e42103e81f5195c523b /git-shortlog
parent4b7581f04ce61c6e3a674cc492d67ddd384e5f73 (diff)
downloadgit-72d7121cc00c890c2962a5b4bff06a2af6a15df5.zip
git-72d7121cc00c890c2962a5b4bff06a2af6a15df5.tar.gz
git-72d7121cc00c890c2962a5b4bff06a2af6a15df5.tar.bz2
[PATCH] list shortlog items in commit order
The current shortlog list is backward making it look odd. This reverses it so things appear more logically. [jc: Nico says that this restores the short-log behaviour from the BK days.] Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-shortlog')
-rwxr-xr-xgit-shortlog2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shortlog b/git-shortlog
index a147e7b..107c895 100755
--- a/git-shortlog
+++ b/git-shortlog
@@ -90,7 +90,7 @@ sub shortlog_output {
# output author's 1-line summaries
$obj = $map{$key};
- foreach $desc (@$obj) {
+ foreach $desc (reverse @$obj) {
print " $desc\n";
$n_output++;
}