diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-08-22 20:29:01 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-22 20:29:01 +0300 |
commit | cd2a952458928ccef767cf3555601f07b07b2fb0 (patch) | |
tree | 6092a56c10e4b6edbc6c961047b124b10f2e99e3 /builtin | |
parent | 5aa0b6c506c1f1336d0e713bf8225509e9ebb9f5 (diff) | |
parent | 03c004c581fb0ecd40bf21990449f393934b15ef (diff) |
Merge branch 'bw/clone-recursive-quiet'
"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 'builtin')
-rw-r--r-- | builtin/clone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/clone.c b/builtin/clone.c index 08b5cc433c..f7e17d2295 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -768,6 +768,9 @@ static int checkout(int submodule_progress) if (submodule_progress) argv_array_push(&args, "--progress"); + if (option_verbosity < 0) + argv_array_push(&args, "--quiet"); + err = run_command_v_opt(args.argv, RUN_GIT_CMD); argv_array_clear(&args); } |