Merge branch 'ah/doc-empty-string-is-false' into maint
[gitweb.git] / builtin / clone.c
index a2ea019c590190a00d1a7cf51a917c7ebdc7886c..f7e17d22951cfd8e498143c009fa0303d0ff8319 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include "builtin.h"
+#include "config.h"
 #include "lockfile.h"
 #include "parse-options.h"
 #include "fetch-pack.h"
@@ -767,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);
        }