From: Robert Fitzsimons Date: Wed, 3 Jan 2007 20:25:55 +0000 (+0000) Subject: gitweb: Fix shortlog only showing HEAD revision. X-Git-Tag: v1.5.0-rc1~97 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d222984e3610c1558778f7a23d23b89f1d91fb36;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 2ead917a9..217905428 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4423,7 +4423,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 = '';