DORMANTno replies

[PATCH] gitweb.cgi: Teach "a=blob" action to know the blob/file mime type

From: Luben Tuikov <hidden>
Date: 2016-06-15 22:42:33

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 <redacted>
---
 gitweb/gitweb.cgi |  127 ++++++++++++++++++++++++++++-------------------------
 1 files changed, 67 insertions(+), 60 deletions(-)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help