diff options
author | Robert Fitzsimons <robfitz@273k.net> | 2007-01-03 20:25:55 +0000 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-03 12:48:39 -0800 |
commit | d222984e3610c1558778f7a23d23b89f1d91fb36 (patch) | |
tree | 639b0a21ac62d118f2698a49a8753e6b66318189 /gitweb | |
parent | 60c0f8462fefed22fc8fb9c4e529665ed8204536 (diff) | |
download | git-d222984e3610c1558778f7a23d23b89f1d91fb36.tar.gz |
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 2ead917a94..2179054286 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 = ''; |