提交 d222984e 编写于 作者: R Robert Fitzsimons 提交者: Junio C Hamano

gitweb: Fix shortlog only showing HEAD revision.

My change in 190d7fdc 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: NRobert Fitzsimons <robfitz@273k.net>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 60c0f846
......@@ -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 = '';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册