Skip to content

Commit

Permalink
Revert "gitweb: There can be empty patches (in git_patchset_body)"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Jan 7, 2007
1 parent 66399ef commit ac8b0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ac8b0cd

Please sign in to comment.