From: Jeff King Date: Sat, 31 Jan 2009 07:25:36 GMT Subject: Re: [ANNOUNCE] EasyGit (eg) 0.97 Message-ID: <20090131072536.GE3033@coredump.intra.peff.net> In-Reply-To: <51419b2c0901301455h32775947rfc4483fd5a5b6c2a@mail.gmail.com> On Fri, Jan 30, 2009 at 03:55:28PM -0700, Elijah Newren wrote: > > So you would have to read color.diff yourself and then decide whether to > > add --color. > > It looks like I can also set the environment variable GIT_PAGER_IN_USE > to achieve the same effects (and I don't even need to do so for most > commands, such as diff, just those whose output I'm parsing and > possibly tweaking). Ah, right. I forgot about that. Yes, setting GIT_PAGER_IN_USE should work, I think. -Peff