]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Fix typo in git_patchset_body
[Gitweb] / gitweb.perl
index dfa9300cd06e5295d3bd64df57ad24c8e044a74a3a308b018efef6cfdedf871b..f32160a201f5ffa3cdc1e1c6be61ffab6d6d2f54dc04ffb9ea862aa559e571cb 100755 (executable)
@@ -1556,7 +1556,7 @@ sub git_difftree_body {
                                      "blob") .
                              " | " .
                              $cgi->a({-href => href(action=>"history", hash_base=>$parent,
-                                                    file_name=>$diff{'file'})},\
+                                                    file_name=>$diff{'file'})},
                                      "history") .
                              "</td>\n";
 
@@ -1656,7 +1656,7 @@ sub git_patchset_body {
        print "<div class=\"patchset\">\n";
 
        LINE:
-       while (my $patch_line @$fd>) {
+       while (my $patch_line = <$fd>) {
                chomp $patch_line;
 
                if ($patch_line =~ m/^diff /) { # "git diff" header
This page took 0.280005 seconds and 4 git commands to generate.