summaryrefslogtreecommitdiff
path: root/t/t5510-fetch.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-02-09 20:32:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-09 21:10:12 (GMT)
commit59caf52d094494a8c02dd7f15302891678533182 (patch)
treec692cbfd9f42b6068a2a20cf41459cea0d460644 /t/t5510-fetch.sh
parent82f34e03e91af42a020f15a1d248bc75785c565a (diff)
downloadgit-59caf52d094494a8c02dd7f15302891678533182.zip
git-59caf52d094494a8c02dd7f15302891678533182.tar.gz
git-59caf52d094494a8c02dd7f15302891678533182.tar.bz2
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/t5510-fetch.sh')
-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 88d38e0..dfc749f 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
}