OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225932e
)
gitweb: fix unmatched div in commitdiff
author
Junio C Hamano
<junkio@cox.net>
Thu, 9 Nov 2006 10:33:35 +0000
(
02:33
-0800)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 9 Nov 2006 10:33:35 +0000
(
02:33
-0800)
When the last filepair changed only metainfo we failed to close the
extended header <div>.
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index
1a757cc
..
e54a29e
100755
(executable)
--- 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"