Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-11-09 13:33:35 +0300
committerJunio C Hamano <junkio@cox.net>2006-11-09 13:33:35 +0300
commit1c791cfbf843fee5c72b5b23c0c3ca8550e15c08 (patch)
tree25dadb7e70fa065933a4cd52260a666318273c08 /gitweb
parent225932ed4daa84f862a739ba4ea01a0bba2dfe45 (diff)
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 2 insertions, 0 deletions
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 "</div>\n" if $in_header; # extended header
+
print "</div>\n" if $patch_found; # class="patch"
print "</div>\n"; # class="patchset"