Git fork

lib-bash.sh: move `then` onto its own line

The code style for tests is to have statements on their own line if
possible. Move the `then` onto its own line so that it conforms with the
test style.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Denton Liu and committed by
Junio C Hamano
df6d3d68 d9f6f3b6

+4 -2
+4 -2
t/lib-bash.sh
··· 2 # to run under Bash; primarily intended for tests of the completion 3 # script. 4 5 - if test -n "$BASH" && test -z "$POSIXLY_CORRECT"; then 6 # we are in full-on bash mode 7 true 8 - elif type bash >/dev/null 2>&1; then 9 # execute in full-on bash mode 10 unset POSIXLY_CORRECT 11 exec bash "$0" "$@"
··· 2 # to run under Bash; primarily intended for tests of the completion 3 # script. 4 5 + if test -n "$BASH" && test -z "$POSIXLY_CORRECT" 6 + then 7 # we are in full-on bash mode 8 true 9 + elif type bash >/dev/null 2>&1 10 + then 11 # execute in full-on bash mode 12 unset POSIXLY_CORRECT 13 exec bash "$0" "$@"