gitweb: Fix shortlog only showing HEAD revision.
[gitweb.git] / gitweb / gitweb.perl
index 2ead917a9401cddecc5335c72fc0cf4233a3c4d5..21790542863b24a9d8d4928c7d0b14bbfdd94c8a 100755 (executable)
@@ -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 = '';