Re: [PATCH 17/25] t0020: use modern test_* helpers

2015-03-24 Thread SZEDER Gábor
Quoting Jeff King p...@peff.net: This test contains a lot of hand-rolled messages to show when the test fails. We can omit most of these by using verbose and test_must_fail. A few of them are for update-index, but we can assume it produces reasonable error messages when it fails.

Re: [PATCH 17/25] t0020: use modern test_* helpers

2015-03-24 Thread Jeff King
On Wed, Mar 25, 2015 at 01:23:23AM +0100, SZEDER Gábor wrote: for f in one dir/two do append_cr $f tmp mv -f tmp $f -git update-index -- $f || { -echo Oops -false -break -} +

[PATCH 17/25] t0020: use modern test_* helpers

2015-03-20 Thread Jeff King
This test contains a lot of hand-rolled messages to show when the test fails. We can omit most of these by using verbose and test_must_fail. A few of them are for update-index, but we can assume it produces reasonable error messages when it fails. Signed-off-by: Jeff King p...@peff.net ---