Re: [PATCH 6/7] Git.pm: introduce environment variable GIT_TEST_PRETEND_TTY
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 15, 2019, 13:50 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1901151448570.41@tvgsbejvaqbjf.bet>
- In-Reply-To
- <fd6bab55-871c-4f4d-84e9-98bfe5d54f23@talktalk.net>
Hi Phillip,
On Mon, 14 Jan 2019, Phillip Wood wrote:
> Hi Salvica/Johannes
Close ;-)
Show 10 quoted lines
> On 20/12/2018 12:09, Slavica Djukic via GitGitGadget wrote: > > From: Slavica Djukic <slawica92@hotmail.com> > > > > To enable testing the colored output on Windows, enable TTY > > by using environment variable GIT_TEST_PRETEND_TTY. > > > > This is the original idea by Johannes Schindelin. > > I normally use GIT_PAGER_IN_USE=1 to force colored output, is there some > reason that does not work here?
As Slavica found out, you need to set `TERM`, too, for that to work. And even then, it is more of a "happens to do what we want" rather than a "this is what we want to happen"...
But I'm fine either way, the color code does not really *need* more complexity, as it were...
Ciao, Dscho