@matheusbsbs / matheus-bagliano / commits / d222984e36
Fork 0

gitweb: Fix shortlog only showing HEAD revision.

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 <robfitz@273k.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Robert Fitzsimons committed Jan 3, 2007 at 20:25 UTC d222984e3610c1558778f7a23d23b89f1d91fb36
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -4423,7 +4423,7 @@ sub git_shortlog {
4423 }
4424 my $refs = git_get_references();
4425
4426 - my @commitlist = parse_commits($head, 101, (100 * $page));
4426 + my @commitlist = parse_commits($hash, 101, (100 * $page));
4427
4428 my $paging_nav = format_paging_nav('shortlog', $hash, $head, $page, (100 * ($page+1)));
4429 my $next_link = '';