mirror of
https://github.com/git/git.git
synced 2024-09-29 17:51:22 +02:00
Merge branch 'lt/gitweb'
* lt/gitweb: Add "raw" output option to blobs in "tree" view format
This commit is contained in:
commit
8499294c41
@ -1668,6 +1668,7 @@ sub git_tree {
|
||||
$cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob;h=$t_hash$base_key;f=$base$t_name")}, "blob") .
|
||||
# " | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blame;h=$t_hash$base_key;f=$base$t_name")}, "blame") .
|
||||
" | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=history;h=$hash_base;f=$base$t_name")}, "history") .
|
||||
" | " . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=blob_plain;h=$t_hash;f=$base$t_name")}, "raw") .
|
||||
"</td>\n";
|
||||
} elsif ($t_type eq "tree") {
|
||||
print "<td class=\"list\">" .
|
||||
|
Loading…
Reference in New Issue
Block a user