Re: [PATCH] gitweb: "raw" links to blobs at HEAD
From: Luben Tuikov <hidden>
Date: 2016-06-15 22:42:41
--- Jakub Narebski <jnareb@gmail.com> wrote:Luben Tuikov wrote:quoted
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.You can in the same number of steps. First go to _tree_ at head, then click on "raw" link.
Jakub,
For binary only files, there is no HTML interface to refer
to, such that, hb=HEAD for _binary_ only files. Unless of course
one types that on the URL line manually.
That is, I'd like to externally reference binary only blobs
at "HEAD", s.t. no matter _when_ the reference is used, it would
refer to the latest "version" of that file.
E.g. a PDF spec file.
My recent patches on the subject enable this capability.
Luben
It's true that decision that binary files are automatically
redirected to "plain" ("raw") format, so they don't have "html"
output caused that there is no link for binary blob at head.
But I don't think that changing "raw" link to link to HEAD
version, while all other links are to current version is
a good idea...
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
-
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