summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2018-02-09 20:32:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-09 13:10:12 -0800
commit59caf52d094494a8c02dd7f15302891678533182 (patch)
treec692cbfd9f42b6068a2a20cf41459cea0d460644 /t
parentfetch tests: double quote a variable for interpolation (diff)
downloadtgif-59caf52d094494a8c02dd7f15302891678533182.tar.xz
fetch tests: expand case/esac for later change
Expand a compact case/esac statement for a later change that'll add more logic to the body of the "*" case. This is a whitespace-only change. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t5510-fetch.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index 88d38e0819..dfc749f576 100755
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
@@ -543,8 +543,12 @@ test_expect_success "should be able to fetch with duplicate refspecs" '
set_config_tristate () {
# var=$1 val=$2
case "$2" in
- unset) test_unconfig "$1" ;;
- *) git config "$1" "$2" ;;
+ unset)
+ test_unconfig "$1"
+ ;;
+ *)
+ git config "$1" "$2"
+ ;;
esac
}