mirror of
https://github.com/git/git
synced 2024-09-12 21:04:12 +00:00
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>
This commit is contained in:
parent
82f34e03e9
commit
59caf52d09
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue