gitweb: Fix typo in git_patchset_body
[gitweb.git] / gitweb / gitweb.perl
index ba5024af14484ec4f838e77c261835e77cc224b3..7b458bcf8e454deb1136b080b0074dae81fdf2a0 100755 (executable)
@@ -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