Skip to content

Commit

Permalink
gitweb: fix unmatched div in commitdiff
Browse files Browse the repository at this point in the history
When the last filepair changed only metainfo we failed to close the
extended header <div>.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 9, 2006
1 parent 225932e commit 1c791cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1c791cf

Please sign in to comment.