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.lorimer.id.au/gitweb.git/diff_plain/1c791cfbf843fee5c72b5b23c0c3ca8550e15c08?ds=inline;hp=--cc 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 --- 1c791cfbf843fee5c72b5b23c0c3ca8550e15c08 diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 1a757cce36..e54a29e4f6 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"