summaryrefslogtreecommitdiff
path: root/git-archimport.perl
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2006-07-09 20:18:57 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-10 00:30:11 -0700
commit930cf7dd7cc6b87d173f182230763e1f1913d319 (patch)
tree2fbb913c60f75f841fd07382cea2bd79903a572e /git-archimport.perl
parent9af25117963382b5f4c342bc9dbae7b4e60c4a11 (diff)
downloadgit-930cf7dd7cc6b87d173f182230763e1f1913d319.tar.gz
gitweb.cgi: Teach "a=blob" action to know the blob/file mime type
Now action "blob" knows the file type: if the file type is not "text/*" then action "blob" defaults to "blob_plain", i.e. the file is downloaded raw for the browser to interpret. If the file type is "text/*", then "blob" defaults to the current "cat -n"-like output, from which you can click "plain", to get the "blob_plain" output. Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-archimport.perl')
0 files changed, 0 insertions, 0 deletions