Revert "gitweb: There can be empty patches (in git_patchset_body)"

This reverts commit 1ebb948f65,
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>
This commit is contained in:
Jakub Narebski 2007-01-07 02:52:26 +01:00 committed by Junio C Hamano
parent 66399eff86
commit ac8b0cd1cd

View File

@ -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;