Revert "gitweb: There can be empty patches (in git_patchset_body)"
authorJakub Narebski <jnareb@gmail.com>
Sun, 7 Jan 2007 01:52:26 +0000 (02:52 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:52:55 +0000 (22:52 -0800)
This reverts commit 1ebb948f656c03a5bdaab4de1a113b9ffcb98bea,
as that patch quieted warning but was not proper solution.
The previous commit was.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 7ebdfbbbd5b7011284fd3eb9d78716bc43aeb1cf..d60d7c665a5e3b249ddf624f25f81b376ac518f5 100755 (executable)
@@ -2533,7 +2533,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;