Re: [PATCH 9/9] commit: suppress status summary when no changes staged
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 11, 2010, 23:57 UTC
- Message-ID
- <20100811235742.GA18499@burratino>
- In-Reply-To
- <AANLkTi=DPu+roNsuWZARkK=cmKhcqMx=CDyiv6cf7tof@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> On Wed, Aug 11, 2010 at 07:30, Jonathan Nieder <jrnieder@gmail.com> wrote:
>> -test_expect_success 'status' ' >> +test_expect_failure 'status' '
Oops. Did you see the follow-up patch?
Show 6 quoted lines
> Better to test_expect_success like my patch does and explicitly check > the output, otherwise that test will pass if any part of it fails, > e.g. if the checkout fails. > > Not likely, but it's more likely that the output will change again, in > which case the grep tests I did would start failing again.
The wt-status output series ought have included a separate test for the new “git commit --dry-run” output. But this is not what that test script is about, and I think including it there would have been confusing.
Sorry for the breakage, and thanks for reporting it.