@matheusbsbs / matheus-bagliano / commits / 3899e7a329
Fork 0

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>

Luben Tuikov committed Aug 17, 2006 at 13:52 UTC 3899e7a329aabfc22eca9beb82599e1bb214b3d2
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -2441,7 +2441,7 @@ sub git_commitdiff {
2441 $cgi->a({-href => href(action=>"blob", hash=>$from_id, hash_base=>$hash_parent, file_name=>$file)}, $from_id) .
2442 " -> " .
2443 file_type($to_mode) . ":" .
2444 - $cgi->a({-href => href(action=>"blob", hash=>$to_id, hash_base=>$hash, file_name=>$file)}, $to_id) .
2444 + $cgi->a({-href => href(action=>"blob", hash=>$to_id, hash_base=>$hash, file_name=>$file)}, $to_id);
2445 print "</div>\n";
2446 git_diff_print($from_id, "a/$file", $to_id, "b/$file");
2447 }