push test: rely on &&-chaining instead of 'if bad; then echo Oops; fi'
commit5bd81c73156a623edc9dff42c26469732f49aa89
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 18 Mar 2013 23:14:26 +0000 (18 16:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 18:07:27 +0000 (19 11:07 -0700)
tree21f6759e75ad01fafb99b1f703598e7245117c30
parent848575d833ca0d9d47db372348576f3b98bd19b7
push test: rely on &&-chaining instead of 'if bad; then echo Oops; fi'

When it is unclear which command from a test has failed, usual
practice these days is to debug by running the test again with "sh -x"
instead of relying on debugging 'echo' statements.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh