git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] list shortlog items in commit order
@ 2005-08-02 21:18 Nicolas Pitre
  2005-08-02 22:34 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Pitre @ 2005-08-02 21:18 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git


The current shortlog list is backward making it look odd.
This reverses it so things appear more logically.

Signed-off-by: Nicolas Pitre <nico@cam.org>

diff --git a/git-shortlog b/git-shortlog
--- 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++;
 		}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-03  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 21:18 [patch] list shortlog items in commit order Nicolas Pitre
2005-08-02 22:34 ` Junio C Hamano
2005-08-02 22:41   ` Nicolas Pitre
2005-08-03  3:58   ` Jeff Garzik
2005-08-03  4:59     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).