Currently there is no HTML interface which references (or can be externally referenced) to yield a _binary_ blob at HEAD. There is one for non-binary blobs, but none for binary ones. The reason is that "blob"/entry itself for non-binary entries gives you the "Blob page" where you can click on last link of the page path, but clicking on the binary entry/"blob" gives you the raw file. Binary blobs: Since "raw" == the entry itself, we can eliminate this redundancy and set "raw" to the binary blob at HEAD. This patch implements that. If the user wants the binary blob at hash/hash_base then they can click on the entry itself. Non-binary blobs: With this patch "raw" yields the HEAD revision as per the above comment for binary blobs. If the raw output of the hash/hash_base blob is required the user can click on the entry (same as for binary only) and then click on "raw" (which used to be named "plain" not so long ago) or last entry of "page" path. Compare the "raw" link for non-binary blobs from tree view, to the alternative to getting it: click on entry->HEAD->last entry of "page" path. Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> --- gitweb/gitweb.perl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2006-09-26 16:34:35 EST