From: Junio C Hamano Date: Thu, 9 Nov 2006 10:33:35 +0000 (-0800) Subject: gitweb: fix unmatched div in commitdiff X-Git-Tag: v1.4.4-rc2~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c791cfbf843fee5c72b5b23c0c3ca8550e15c08;p=git.git gitweb: fix unmatched div in commitdiff When the last filepair changed only metainfo we failed to close the extended header
. Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 1a757cce3..e54a29e4f 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2338,6 +2338,8 @@ sub git_patchset_body { print format_diff_line($patch_line); } + print "
\n" if $in_header; # extended header + print "\n" if $patch_found; # class="patch" print "\n"; # class="patchset"