From: Jeff King Date: Fri, 14 Jul 2017 11:50:43 GMT Subject: Re: [PATCH 03/15] t: use test_decode_color rather than literal ANSI codes Message-ID: <20170714115043.5sqytmol4hwehfwv@sigill.intra.peff.net> In-Reply-To: On Thu, Jul 13, 2017 at 12:27:41PM -0700, Junio C Hamano wrote: > > 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