Re: [RFC PATCHv2 09/16] t4026 (color): add missing &&

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 24, 2010 at 10:55:08PM +0000, Ãvar ArnfjÃrà Bjarmason wrote:

> On Fri, Sep 24, 2010 at 22:22, Elijah Newren <newren@xxxxxxxxx> wrote:
> > FIXME: Is it intended that this git config --unset fail? ÂI had to add a
> > test_might_fail as well.
> 
> Presumably this is to work around the user having diff.color in his
> config or something? Should we be leaking like that?

No, it was to clean up from previous tests, which set diff.color.new, to
make sure we had a clean environment.  So it should have been might_fail
(but it predated might_fail, which is why it wasn't).

But look at 8b124135, which came later. It changed the color() and
invalid_color() helpers to no longer use diff.color.new, so that cleanup
is now obsolete. So that line can simply be removed now.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]