aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2005-08-02 17:18:57 -0400
committerJunio C Hamano <junkio@cox.net>2005-08-02 22:51:06 -0700
commit72d7121cc00c890c2962a5b4bff06a2af6a15df5 (patch)
treef42e21d7fa85a078e6e37e42103e81f5195c523b
parent4b7581f04ce61c6e3a674cc492d67ddd384e5f73 (diff)
downloadgit-72d7121cc00c890c2962a5b4bff06a2af6a15df5.tar.gz
git-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>
-rwxr-xr-xgit-shortlog2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shortlog b/git-shortlog
index a147e7b47..107c895df 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++;
}