From: Jakub Narebski Date: Sun, 7 Jan 2007 01:52:26 +0000 (+0100) Subject: Revert "gitweb: There can be empty patches (in git_patchset_body)" X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/739df17f552f684fab90d96e66c4ef9470bc2c156b5113fc2f018b4051a473ff Revert "gitweb: There can be empty patches (in git_patchset_body)" This reverts commit 1ebb948f656c03a5bdaab4de1a113b9ffcb98bea, as that patch quieted warning but was not proper solution. The previous commit was. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index f7b5315..191be31 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2534,7 +2534,7 @@ sub git_patchset_body { print "
$patch_line
\n"; $patch_line = <$fd>; - last PATCH unless $patch_line; + #last PATCH unless $patch_line; chomp $patch_line; #assert($patch_line =~ m/^+++/) if DEBUG;