[PATCH] list shortlog items in commit order
authorNicolas Pitre <nico@cam.org>
Tue, 2 Aug 2005 21:18:57 +0000 (17:18 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Aug 2005 05:51:06 +0000 (22:51 -0700)
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>
git-shortlog

index a147e7b..107c895 100755 (executable)
@@ -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++;
                }