t2018: don't lose return code of git commands
authorDenton Liu <redacted>
Tue, 7 Jan 2020 04:53:03 +0000 (23:53 -0500)
committerJunio C Hamano <redacted>
Mon, 27 Jan 2020 20:56:02 +0000 (12:56 -0800)
commit62e80fcb480d388777a9d6d96d977e02c3e7dd36
treef0cf7923d069cbe2c1183e803b43fd7ad4e0247a
parent30c0367668ab919cc1bca3cff73820f77b573765
t2018: don't lose return code of git commands

Fix invocations of git commands so their exit codes are not lost
within non-assignment command substitutions.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t2018-checkout-branch.sh
git clone https://git.99rst.org/PROJECT