diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 05b3876df3..2ead917a94 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2527,7 +2527,7 @@ sub git_patchset_body { print "
$patch_line
\n"; $patch_line = <$fd>; - #last PATCH unless $patch_line; + last PATCH unless $patch_line; chomp $patch_line; #assert($patch_line =~ m/^+++/) if DEBUG;