From: Felipe Contreras Date: Tue, 03 Sep 2013 21:52:19 GMT Subject: Re: [PATCH 3/4] t: rev-parse-parents: avoid yoda conditions Message-ID: In-Reply-To: On Tue, Sep 3, 2013 at 12:31 PM, Junio C Hamano wrote: > Felipe Contreras writes: > >> There are two ways to fix an inconsistency, the other way is to fix >> test_cmp. But that would be a change, and change is not welcome in >> Git. > > If you want to do "test_cmp $actual $expect", you would have to > first "fix" people's expectation that "diff A B" produces a change > necessary to bring A to B, which would not likely to happen. We do > the 'test_cmp expect actual' for a reason. No, you just do "diff B A". -- Felipe Contreras