Re: [PATCH 4/2] pathattr: allow piping to external program.
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>