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

Re: [PATCH 2/2] git-show: use pathattr to run "display"

From
APAndy Parkins <andyparkins@gmail.com>
Date
Mar 1, 2007, 09:04 UTC
Message-ID
<200703010904.48146.andyparkins@gmail.com>
In-Reply-To
<7vodndxwia.fsf@assigned-by-dhcp.cox.net>
On Thursday 2007 March 01 07:18, Junio C Hamano wrote:
Show 6 quoted lines
> This is a bit of detour, to demonstrate a possible use of
> pathattr infrastructure.  With this,
>
> 	$ git show v1.4.4:t/test4012.png
>
> would hopefully do what you would expect.
Is this serious?  This doesn't belong inside git does it?

What if I don't want to run "display"? What if I don't want to run anything, and just want png files dumped raw to the terminal?

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Junio C HamanoNext: Andy Parkins
Message 2 of 6 in “git-show: use pathattr to run "display"”
  1. 2/2 git-show: use pathattr to run "display"Junio C Hamano, Mar 1, 2007
  2. Andy ParkinsMar 1, 2007
  3. Andy ParkinsMar 1, 2007
  4. 3/2 pathattr: read from git_config().Junio C Hamano, Mar 1, 2007
  5. 4/2 pathattr: allow piping to external program.Junio C Hamano, Mar 1, 2007
  6. Junio C HamanoMar 1, 2007

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.