Skip to content

Commit ac8b0cd

Browse files
jnarebJunio C Hamano
authored andcommitted
Revert "gitweb: There can be empty patches (in git_patchset_body)"
This reverts commit 1ebb948, 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>
1 parent 66399ef commit ac8b0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ sub git_patchset_body {
25332533
print "<div class=\"diff from_file\">$patch_line</div>\n";
25342534

25352535
$patch_line = <$fd>;
2536-
last PATCH unless $patch_line;
2536+
#last PATCH unless $patch_line;
25372537
chomp $patch_line;
25382538

25392539
#assert($patch_line =~ m/^+++/) if DEBUG;

0 commit comments

Comments
 (0)