diff options
author | Junio C Hamano <junkio@cox.net> | 2006-11-09 02:33:35 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-09 02:33:35 -0800 |
commit | 1c791cfbf843fee5c72b5b23c0c3ca8550e15c08 (patch) | |
tree | 25dadb7e70fa065933a4cd52260a666318273c08 /gitweb | |
parent | 225932ed4daa84f862a739ba4ea01a0bba2dfe45 (diff) | |
download | git-1c791cfbf843fee5c72b5b23c0c3ca8550e15c08.tar.gz git-1c791cfbf843fee5c72b5b23c0c3ca8550e15c08.tar.xz |
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-x | gitweb/gitweb.perl | 2 |
1 files changed, 2 insertions, 0 deletions
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 "</div>\n" if $in_header; # extended header + print "</div>\n" if $patch_found; # class="patch" print "</div>\n"; # class="patchset" |