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@xxxxxxxxx> --- gitweb/gitweb.cgi | 127 ++++++++++++++++++++++++++++------------------------- 1 files changed, 67 insertions(+), 60 deletions(-)
Attachment:
blob.patch
Description: 2862520298-blob.patch