git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[patch] list shortlog items in commit order

From
Nicolas Pitre <nico@cam.org>
Date
Aug 2, 2005, 21:18 UTC
Message-ID
<Pine.LNX.4.63.0508021713230.15300@localhost.localdomain>

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++;
 		}
Next: Junio C Hamano
Message 1 of 5 in “list shortlog items in commit order”
  1. list shortlog items in commit orderNicolas Pitre, Aug 2, 2005
  2. Junio C HamanoAug 2, 2005
  3. Nicolas PitreAug 2, 2005
  4. Jeff GarzikAug 3, 2005
  5. Linus TorvaldsAug 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.