summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLibravatar Luben Tuikov <ltuikov@yahoo.com>2006-08-17 13:52:09 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-17 14:30:21 -0700
commit3899e7a329aabfc22eca9beb82599e1bb214b3d2 (patch)
tree9ddfed1e0ace55584a369c4d9264660713c64d05 /gitweb
parentgitweb: Support for snapshot (diff)
downloadtgif-3899e7a329aabfc22eca9beb82599e1bb214b3d2.tar.xz
gitweb: bugfix: commitdiff regression
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 941dce0e88..18ba4b0d86 100755
--- 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");
}