]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix shortlog only showing HEAD revision.
authorRobert Fitzsimons <redacted>
Wed, 3 Jan 2007 20:25:55 +0000 (20:25 +0000)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
My change in 190d7fdcf325bb444fa806f09ebbb403a4ae4ee6 had a small bug
found by Michael Krufky which caused the passed in hash value to be
ignored, so shortlog would only show the HEAD revision.

Signed-off-by: Robert Fitzsimons <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index fe6c9fe0d298b35af5d1de83518a43e2c613ed8a38bc934877efdd9d07cbf11c..716d416b2291146ea1a4c263030d15ac172d44de4e1b9e39b4637ebf43fce3cf 100755 (executable)
@@ -4424,7 +4424,7 @@ sub git_shortlog {
        }
        my $refs = git_get_references();
 
-       my @commitlist = parse_commits($head, 101, (100 * $page));
+       my @commitlist = parse_commits($hash, 101, (100 * $page));
 
        my $paging_nav = format_paging_nav('shortlog', $hash, $head, $page, (100 * ($page+1)));
        my $next_link = '';
This page took 0.332723 seconds and 4 git commands to generate.