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 | |
parent | git-verify-tag: make sure we remove temporary file. (diff) | |
download | tgif-d222984e3610c1558778f7a23d23b89f1d91fb36.tar.xz |
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>
-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 = ''; |