t2018: improve style of if-statement
authorDenton Liu <redacted>
Tue, 7 Jan 2020 04:53:00 +0000 (23:53 -0500)
committerJunio C Hamano <redacted>
Tue, 7 Jan 2020 20:23:32 +0000 (12:23 -0800)
commit5020f6806ac910d52f781ac76719c1cf66715632
tree403f5073a40455843b7e962fb55503ec67cac336
parent7ffb54618be9c44ff3213f660fca0a487893ef9a
t2018: improve style of if-statement

Convert `[]` to `test` and break if-then into separate lines, both of
which bring the style in line with Git's coding guidelines.

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