Re: [PATCH 3/4] rev-parse test: use test_cmp instead of "test" builtin
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Sep 3, 2013, 22:01 UTC
- Message-ID
- <CAMP44s0a38N4ruQtgzcAR7e0H9pUscSA1hA355-QE64ZaN8cKw@mail.gmail.com>
- In-Reply-To
- <20130903170715.GD29921@google.com>
On Tue, Sep 3, 2013 at 12:07 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> test_expect_success 'start^0' ' > - test $(cat .git/refs/tags/start) = $(git rev-parse start^0) > + test_cmp_rev_output tags/start "git rev-parse start^0" > '
Backwards and yodaish this is.
-- Felipe Contreras