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

Re: [PATCH] Add "raw" output option to blobs in "tree" view format

From
Junio C Hamano <junkio@cox.net>
Date
Jul 7, 2006, 18:45 UTC
Message-ID
<7vejwxxni5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060707164152.86022.qmail@web31805.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
Show 6 quoted lines
> That is, the user would still have to click through "tree->blob->plain"
> to download a "text/*" file, as opposed to just "tree->raw".
>
> What this patch allows, is that the user be able to simply download the file,
> right from "tree" view, regardless of the type of file. (I.e. the type of
> file as decided by the _user_, not gitweb.cgi.)
OK, I see what you are aiming at.

I have been irritated by the current git_blob that always seems to do "cat -n" even for non text/* files, but you are tackling the opposite problem.

Previous: Luben Tuikov
Message 4 of 4 in “Add "raw" output option to blobs in "tree" view format”
  1. Add "raw" output option to blobs in "tree" view formatLuben Tuikov, Jul 7, 2006
  2. Junio C HamanoJul 7, 2006
  3. Luben TuikovJul 7, 2006
  4. Junio C HamanoJul 7, 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.