summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorLibravatar Luben Tuikov <ltuikov@yahoo.com>2006-07-09 20:18:57 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-10 00:30:11 -0700
commit930cf7dd7cc6b87d173f182230763e1f1913d319 (patch)
tree2fbb913c60f75f841fd07382cea2bd79903a572e /git-commit.sh
parentgitweb.cgi: Create $git_temp if it doesn't exist (diff)
downloadtgif-930cf7dd7cc6b87d173f182230763e1f1913d319.tar.xz
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-commit.sh')
0 files changed, 0 insertions, 0 deletions