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

Re: [PATCH 4/2] pathattr: allow piping to external program.

From
Junio C Hamano <junkio@cox.net>
Date
Mar 1, 2007, 09:37 UTC
Message-ID
<7vodnduwx3.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vzm6xux9o.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 7 quoted lines
> This sets up capability for various traits to be an external
> process, accessed via pipe.  conv-i and conv-o need to spawn
> bidirectional pipe, but I have not coded that part yet.
>
> You can try running:
>
>     $ git show HEAD:Documentation/*.txt
... obviously I meant
	$ git show HEAD:Documentation/git.txt
or something a bit more concrete than '*' here.
Show 10 quoted lines
>
> with:
>
>     [pathattr "kludge"]
>         path = Documentation/*.txt
>         pretty = "pipe sed -e 's/^/>> /'"
>
> to see what it does.
>
> Signed-off-by: Junio C Hamano <junkio@cox.net>
Previous: Junio C Hamano
Message 6 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.