@matheusbsbs / matheus-bagliano / commits / ac8b0cd1cd
Fork 0

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 <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jakub Narebski committed Jan 7, 2007 at 02:52 UTC ac8b0cd1cd61f74b76261df17a15ada87f437269
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -2533,7 +2533,7 @@ sub git_patchset_body {
2533 print "<div class=\"diff from_file\">$patch_line</div>\n";
2534
2535 $patch_line = <$fd>;
2536 - last PATCH unless $patch_line;
2536 + #last PATCH unless $patch_line;
2537 chomp $patch_line;
2538
2539 #assert($patch_line =~ m/^+++/) if DEBUG;