Re: [PATCH 03/15] t: use test_decode_color rather than literal ANSI codes
- From
Jeff King <peff@peff.net>
- Date
- Jul 14, 2017, 11:50 UTC
- Message-ID
- <20170714115043.5sqytmol4hwehfwv@sigill.intra.peff.net>
- In-Reply-To
- <xmqqeftkw30y.fsf@gitster.mtv.corp.google.com>
On Thu, Jul 13, 2017 at 12:27:41PM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> > I agree it's a bit gross. Possibly: > > > > git log --format='%C(auto)%d %s' > > > > would be easier for the test to parse (I'm pretty sure that didn't exist > > back when this test was written). > > Yeah, that may make the test easier to read, too.
I started on that, but the test is actually checking the coloring of the commit message, too. So switching to a custom format would lose that part of the test.
-Peff