summaryrefslogtreecommitdiff
path: root/builtin-apply.c
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2006-07-10 03:18:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-10 07:30:11 (GMT)
commit930cf7dd7cc6b87d173f182230763e1f1913d319 (patch)
tree2fbb913c60f75f841fd07382cea2bd79903a572e /builtin-apply.c
parent9af25117963382b5f4c342bc9dbae7b4e60c4a11 (diff)
downloadgit-930cf7dd7cc6b87d173f182230763e1f1913d319.zip
git-930cf7dd7cc6b87d173f182230763e1f1913d319.tar.gz
git-930cf7dd7cc6b87d173f182230763e1f1913d319.tar.bz2
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 'builtin-apply.c')
0 files changed, 0 insertions, 0 deletions