git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: "raw" links to blobs at HEAD

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Sep 26, 2006, 20:20 UTC
Message-ID
<20060926202013.10579.qmail@web31811.mail.mud.yahoo.com>
In-Reply-To
<efaq3h$e65$2@sea.gmane.org>
--- Jakub Narebski <jnareb@gmail.com> wrote:
Show 9 quoted lines
> Luben Tuikov wrote:
> 
> > 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
Show 17 quoted lines
> 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
> 
Previous: Jakub Narebski
Message 5 of 5 in “gitweb: "raw" links to blobs at HEAD”
  1. gitweb: "raw" links to blobs at HEADLuben Tuikov, Sep 26, 2006
  2. Junio C HamanoSep 26, 2006
  3. Luben TuikovSep 26, 2006
  4. Jakub NarebskiSep 26, 2006
  5. Luben TuikovSep 26, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.