提交 ac8b0cd1 编写于 作者: J Jakub Narebski 提交者: Junio C Hamano

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

This reverts commit 1ebb948f,
as that patch quieted warning but was not proper solution.
The previous commit was.
Signed-off-by: NJakub Narebski <jnareb@gmail.com>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 66399eff
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册