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.
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
-}
+
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
---
3 matches
Mail list logo