]> Lady’s Gitweb - Gitweb/commitdiff
Revert "gitweb: There can be empty patches (in git_patchset_body)"
authorJakub Narebski <redacted>
Sun, 7 Jan 2007 01:52:26 +0000 (02:52 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
This reverts commit 1ebb948f656c03a5bdaab4de1a113b9ffcb98bea,
as that patch quieted warning but was not proper solution.
The previous commit was.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index f7b53153ee81003196a325c6145a8a647ebce39d9ce8afd6c650271fc888fd61..191be31419dbf0b8a3bf4ae6edaea6a72047932911e2fadc4df1896911cb9b0e 100755 (executable)
@@ -2534,7 +2534,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;
This page took 0.262629 seconds and 4 git commands to generate.