From ac8b0cd1cd61f74b76261df17a15ada87f437269 Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Sun, 7 Jan 2007 02:52:26 +0100 Subject: [PATCH] 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 --- gitweb/gitweb.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 7ebdfbbbd..d60d7c665 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2533,7 +2533,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; -- 2.26.2