diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-01-07 02:52:26 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-06 22:52:55 -0800 |
commit | ac8b0cd1cd61f74b76261df17a15ada87f437269 (patch) | |
tree | d74d4dddf73c245d1df25874a152306fbc948c3a /gitweb | |
parent | 66399eff86555fce52dc7b54829f02e4bb2424b7 (diff) | |
download | git-ac8b0cd1cd61f74b76261df17a15ada87f437269.tar.gz git-ac8b0cd1cd61f74b76261df17a15ada87f437269.tar.xz |
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 7ebdfbbbd..d60d7c665 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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; |