t5531: avoid using an abbreviated option
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 25 Mar 2019 18:14:20 +0000 (11:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 00:54:59 +0000 (09:54 +0900)
It was probably just an oversight: the `--recurse-submodules` option
puts the term "submodules" in the plural form, not the singular one.

To avoid future problems in case that another option is introduced that
starts with the prefix `--recurse-submodule`, let's just fix this.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5531-deep-submodule-push.sh
index e2c37fd9785d2a47f85853a3611006609381c54c..4ad059e6bedf8ddf2a0db9c20f70ee1c3cd6da15 100755 (executable)
@@ -363,7 +363,7 @@ test_expect_success 'push succeeds if submodule has no remote and is on the firs
                ) &&
                git add b &&
                git commit -m "added submodule" &&
-               git push --recurse-submodule=check origin master
+               git push --recurse-submodules=check origin master
        )
 '