diff options
author | Luben Tuikov <ltuikov@yahoo.com> | 2006-07-09 20:18:57 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-10 00:30:11 -0700 |
commit | 930cf7dd7cc6b87d173f182230763e1f1913d319 (patch) | |
tree | 2fbb913c60f75f841fd07382cea2bd79903a572e /builtin-push.c | |
parent | 9af25117963382b5f4c342bc9dbae7b4e60c4a11 (diff) | |
download | git-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 'builtin-push.c')
0 files changed, 0 insertions, 0 deletions