]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: fix unmatched div in commitdiff
authorJunio C Hamano <redacted>
Thu, 9 Nov 2006 10:33:35 +0000 (02:33 -0800)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
When the last filepair changed only metainfo we failed to close the
extended header <div>.

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

index 37f13f19afcddf8c3957f2218e957e04fd3fe1bb230c9c33c34cd0bb9adde28d..5f1088fdb9c5c5424a2f7a7a7d0cb80aa0097a7e6025e4cc9118ed90fee8a4ed 100755 (executable)
@@ -2339,6 +2339,8 @@ sub git_patchset_body {
 
                print format_diff_line($patch_line);
        }
+       print "</div>\n" if $in_header; # extended header
+
        print "</div>\n" if $patch_found; # class="patch"
 
        print "</div>\n"; # class="patchset"
This page took 0.323739 seconds and 4 git commands to generate.