Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clone: teach recursive clones to respect -q
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index a6ae7d6180ebee6e199b40b4e0c720d4049b68e9..f81b12330e74e42ae560b70ed6377c6dc72453bf 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-764,6
+764,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);
}