mirror of
https://github.com/git/git.git
synced 2026-01-27 17:27:19 +09:00
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>
This commit is contained in:
parent
66399eff86
commit
ac8b0cd1cd
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user