Re: [PATCH] Teach the git wrapper about --name-rev and --name-rev-by-tags
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 28, 2006, 15:43 UTC
- Message-ID
- <7vy7udloq1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0607281308280.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
> On Wed, 26 Jul 2006, Junio C Hamano wrote: > > > * Passing the standard error from "fetch-pack -v" to "name-rev > > --stdin" makes it a bit more pleasant to see what is going on. > > This patch makes it even easier.
Probably wouldn't for that particular one, since what I wanted to do was "git fetch-pack -v 2>&1 | git name-rev >/var/tmp/1", so isatty(1) check in setup_name_rev_pager() is defeated by redirection, and the information I wanted to pass name-rev would not have passed it anyway.
But this _might_ be useful for other more general cases. I'm not sure -- it feels somewhat like a hack, though.