Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Revert "gitweb: There can be empty patches (in git_patchset_body)"
[gitweb.git]
/
gitweb
/
gitweb.perl
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 7ebdfbbbd5b7011284fd3eb9d78716bc43aeb1cf..d60d7c665a5e3b249ddf624f25f81b376ac518f5 100755
(executable)
--- 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;