]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Fix shortlog only showing HEAD revision.
[Gitweb] / gitweb.perl
index c12a6ce6c180341cc709a7b13023f4272c32758549c2a5186fb452d8dba5bb0e..716d416b2291146ea1a4c263030d15ac172d44de4e1b9e39b4637ebf43fce3cf 100755 (executable)
@@ -2528,7 +2528,7 @@ sub git_patchset_body {
                print "<div class=\"diff from_file\">$patch_line</div>\n";
 
                $patch_line = <$fd>;
-               #last PATCH unless $patch_line;
+               last PATCH unless $patch_line;
                chomp $patch_line;
 
                #assert($patch_line =~ m/^+++/) if DEBUG;
@@ -4424,7 +4424,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 = '';
This page took 0.221216 seconds and 4 git commands to generate.