summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8470d8)
raw | patch | inline | side by side (parent: b8470d8)
author | Kay Sievers <kay.sievers@suse.de> | |
Sun, 20 Nov 2005 01:03:09 +0000 (02:03 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Sun, 20 Nov 2005 01:03:09 +0000 (02:03 +0100) |
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index a71d07032d319935ff24136a7bc071ed708ae5ac..afdae92e1f0fc07bab5bcec3a558b88e1d2a8821 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
" | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=commitdiff;h=$hash_base")}, "commitdiff") .
" | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$co{'tree'};hb=$hash_base")}, "tree") . "<br/>\n";
if (defined $file_name) {
- print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash;f=$file_name")}, "plain") . "<br/>\n";
+ print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash;f=$file_name")}, "plain") .
+ " | " . $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob;hb=HEAD;f=$file_name")}, "head") . "<br/>\n";
} else {
print $cgi->a({-href => esc_url("$my_uri?p=$project;a=blob_plain;h=$hash")}, "plain") . "<br/>\n";
}
$cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, $t_name) .
"</td>\n" .
"<td class=\"link\">" .
- $cgi->a({-href => esc("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, "tree") .
+ $cgi->a({-href => esc_url("$my_uri?p=$project;a=tree;h=$t_hash" . $base_key . $file_key)}, "tree") .
"</td>\n";
}
print "</tr>\n";