diff --git a/gitweb.cgi b/gitweb.cgi
index 6a61c65557..acf1b1ab96 100755
--- a/gitweb.cgi
+++ b/gitweb.cgi
@@ -1716,7 +1716,7 @@ sub git_commit {
$mode_chng = sprintf(" with mode: %04o", (oct $to_mode) & 0777);
}
print "
" .
- $cgi->a({-href => "$my_uri?p=$project;a=blob;h=$to_id;hp=$hash;f=$file", -class => "list"}, escapeHTML($file)) . " | \n" .
+ $cgi->a({-href => "$my_uri?p=$project;a=blob;h=$to_id;hb=$hash;f=$file", -class => "list"}, escapeHTML($file)) . "\n" .
"[new " . file_type($to_mode) . "$mode_chng] | \n" .
"" . $cgi->a({-href => "$my_uri?p=$project;a=blob;h=$to_id;hb=$hash;f=$file"}, "blob") . " | \n";
} elsif ($status eq "D") {