Skip to content

Commit

Permalink
Merge branch 'lt/gitweb'
Browse files Browse the repository at this point in the history
* lt/gitweb:
  Add "raw" output option to blobs in "tree" view format
  • Loading branch information
Junio C Hamano committed Jul 10, 2006
2 parents 4ad4515 + 25b7c18 commit 8499294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitweb/gitweb.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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\">" .
Expand Down

0 comments on commit 8499294

Please sign in to comment.