summaryrefslogtreecommitdiff
path: root/git-shortlog
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2005-08-02 17:18:57 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-02 22:51:06 -0700
commit72d7121cc00c890c2962a5b4bff06a2af6a15df5 (patch)
treef42e21d7fa85a078e6e37e42103e81f5195c523b /git-shortlog
parentClean t/trash upon "make clean" as well. (diff)
downloadtgif-72d7121cc00c890c2962a5b4bff06a2af6a15df5.tar.xz
[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 a147e7b474..107c895df3 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++;
}