Browse Source

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>
maint
Junio C Hamano 19 years ago
parent
commit
1c791cfbf8
  1. 2
      gitweb/gitweb.perl

2
gitweb/gitweb.perl

@ -2338,6 +2338,8 @@ sub git_patchset_body { @@ -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"

Loading…
Cancel
Save