From: Junio C Hamano Date: Fri, 28 Jul 2006 15:43:18 GMT Subject: Re: [PATCH] Teach the git wrapper about --name-rev and --name-rev-by-tags Message-ID: <7vy7udloq1.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > 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.