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:
cb9c6e5
)
gitweb: bugfix: commitdiff regression
author
Luben Tuikov
<ltuikov@yahoo.com>
Thu, 17 Aug 2006 20:52:09 +0000
(13:52 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 17 Aug 2006 21:30:21 +0000
(14:30 -0700)
Fix regression in git_commitdiff() introduced
by commit
756d2f064b2419fcdf9cd9c851f352e2a4f75103
.
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
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
941dce0
..
18ba4b0
100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2441,7
+2441,7
@@
sub git_commitdiff {
$cgi->a({-href => href(action=>"blob", hash=>$from_id, hash_base=>$hash_parent, file_name=>$file)}, $from_id) .
" -> " .
file_type($to_mode) . ":" .
- $cgi->a({-href => href(action=>"blob", hash=>$to_id, hash_base=>$hash, file_name=>$file)}, $to_id)
.
+ $cgi->a({-href => href(action=>"blob", hash=>$to_id, hash_base=>$hash, file_name=>$file)}, $to_id)
;
print "</div>\n";
git_diff_print($from_id, "a/$file", $to_id, "b/$file");
}