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>
maint
parent
66399eff86
commit
ac8b0cd1cd
|
@ -2533,7 +2533,7 @@ sub git_patchset_body {
|
||||||
print "<div class=\"diff from_file\">$patch_line</div>\n";
|
print "<div class=\"diff from_file\">$patch_line</div>\n";
|
||||||
|
|
||||||
$patch_line = <$fd>;
|
$patch_line = <$fd>;
|
||||||
last PATCH unless $patch_line;
|
#last PATCH unless $patch_line;
|
||||||
chomp $patch_line;
|
chomp $patch_line;
|
||||||
|
|
||||||
#assert($patch_line =~ m/^+++/) if DEBUG;
|
#assert($patch_line =~ m/^+++/) if DEBUG;
|
||||||
|
|
Loading…
Reference in New Issue