gitweb: fix unmatched div in commitdiff
When the last filepair changed only metainfo we failed to close the extended header <div>. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Nov 9, 2006 at 02:33 UTC
1c791cfbf843fee5c72b5b23c0c3ca8550e15c08
1 file changed
+2
gitweb/gitweb.perl
+2
@@ -2338,6 +2338,8 @@ sub git_patchset_body {
2338
2339
print format_diff_line($patch_line);
2340
}
2341
+ print "</div>\n" if $in_header; # extended header
2342
+
2343
print "</div>\n" if $patch_found; # class="patch"
2344
2345
print "</div>\n"; # class="patchset"