gitweb: Fix typo in git_patchset_body
authorJakub Narebski <jnareb@gmail.com>
Sat, 26 Aug 2006 17:14:23 +0000 (19:14 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 22:12:10 +0000 (15:12 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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