summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-07-10 00:20:42 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-10 00:20:42 -0700
commit8499294c41fe92a560a083c42caad36b4e27fb51 (patch)
tree128b1568165b698fd0afb306172dbd7cffb8c5da /gitweb
parentgit-svn: fix --file/-F option in commit-diff (diff)
parentAdd "raw" output option to blobs in "tree" view format (diff)
downloadtgif-8499294c41fe92a560a083c42caad36b4e27fb51.tar.xz
Merge branch 'lt/gitweb'
* lt/gitweb: Add "raw" output option to blobs in "tree" view format
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.cgi1
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\">" .