diff options
author | Junio C Hamano <junkio@cox.net> | 2006-07-10 00:20:42 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-10 00:20:42 -0700 |
commit | 8499294c41fe92a560a083c42caad36b4e27fb51 (patch) | |
tree | 128b1568165b698fd0afb306172dbd7cffb8c5da | |
parent | 4ad4515dfe15bec59ede5d526c2794bd30b04d86 (diff) | |
parent | 25b7c18ecd9779158cb1c02572396bab22c6e0cf (diff) | |
download | git-8499294c41fe92a560a083c42caad36b4e27fb51.tar.gz |
Merge branch 'lt/gitweb'
* lt/gitweb:
Add "raw" output option to blobs in "tree" view format
-rwxr-xr-x | gitweb/gitweb.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi index 3e2790c5d6..cce0753e14 100755 --- a/gitweb/gitweb.cgi +++ b/gitweb/gitweb.cgi @@ -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\">" . |