summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-10 10:02:49 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-10 10:02:49 +0200
commit277194a28050c2eabb605994d592d8e46cab6302 (patch)
treea2f3f420698e7089230a94ff4b807985c7bd7aa3 /t
parentMerge branch 'pw/sequence-rerere-autoupdate' into maint (diff)
parentclone: teach recursive clones to respect -q (diff)
downloadgit-277194a28050c2eabb605994d592d8e46cab6302.tar.xz
git-277194a28050c2eabb605994d592d8e46cab6302.zip
Merge branch 'bw/clone-recursive-quiet' into maint
"git clone --recurse-submodules --quiet" did not pass the quiet option down to submodules. * bw/clone-recursive-quiet: clone: teach recursive clones to respect -q
Diffstat (limited to 't')
-rwxr-xr-xt/t7400-submodule-basic.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index dcac364c5f..e9c3335b78 100755
--- a/t/t7400-submodule-basic.sh
+++ b/t/t7400-submodule-basic.sh
@@ -1289,4 +1289,10 @@ test_expect_success 'init properly sets the config' '
test_must_fail git -C multisuper_clone config --get submodule.sub1.active
'
+test_expect_success 'recursive clone respects -q' '
+ test_when_finished "rm -rf multisuper_clone" &&
+ git clone -q --recurse-submodules multisuper multisuper_clone >actual &&
+ test_must_be_empty actual
+'
+
test_done