From 1c791cfbf843fee5c72b5b23c0c3ca8550e15c08 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 9 Nov 2006 02:33:35 -0800 Subject: [PATCH] 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 --- gitweb/gitweb.perl | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.11.4.GIT