push: test that --recurse-submodules on command line overrides config
t5531 only checked that the push.recurseSubmodules config option was
overridden by passing --recurse-submodules=check on the command
line. Add new tests for overriding with --recurse-submodules=no,
--no-recurse-submodules and --recurse-submodules=push too.
Also correct minor typo in test commit message.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
@ -126,24 +126,48 @@ test_expect_success 'push succeeds if submodule commit not on remote but using o
@@ -126,24 +126,48 @@ test_expect_success 'push succeeds if submodule commit not on remote but using o
)
'
test_expect_success 'push fails if submodule commit not on remote using check from cmdline overriding config' '
test_expect_success 'push recurse-submodules on command line overrides config' '