]> Lady’s Gitweb - Gitweb/commit
Add "raw" output option to blobs in "tree" view format
authorLuben Tuikov <redacted>
Fri, 7 Jul 2006 06:39:30 +0000 (23:39 -0700)
committerLady <redacted>
Sat, 4 Apr 2026 18:43:37 +0000 (14:43 -0400)
commit0657ad86562e8c952f29e6ea791de4c91b161f2917039e7afe827ced32e7b61e
tree96cc4eb23faf78565a2203ec52389138407e9e467ef3425323143bea8cd767c8
parent94bd6219522994a98fb4609556e907e328d94d0ed0763ec2417d89d8e551ab06
Add "raw" output option to blobs in "tree" view format

Add a "raw" output option to blobs in "tree" view format, so that the
user doesn't have to click on "blob", wait for the (binary) file to be
uploaded and shown in "blob" mode, and then click on "plain" to
download the (binary) file.

This is useful when the file is clearly binary and we don't want the
browser to upload and display it in "blob" mode, but we just want to
download it.  Case in point: pdf files, wlg.

Note: the "raw" format is equivalent to the blob->plain view, not
blob->head view. I.e. the view has the hash of the file as listed
by git-ls-tree, not just "HEAD".

Signed-off-by: Luben Tuikov <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi
This page took 0.095349 seconds and 4 git commands to generate.