Skip to content

Commit

Permalink
gitweb: Fix shortlog only showing HEAD revision.
Browse files Browse the repository at this point in the history
My change in 190d7fd 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>
  • Loading branch information
Robert Fitzsimons authored and Junio C Hamano committed Jan 3, 2007
1 parent 60c0f84 commit d222984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down

0 comments on commit d222984

Please sign in to comment.