Teach run-command to redirect stdout to /dev/null
[gitweb.git] / builtin-push.c
index 979efcc45fca1a39b125e02d14b1f5d096f813ba..6ab9a28e8c106858a1002971438e46778ff843d8 100644 (file)
@@ -336,7 +336,7 @@ static int do_push(const char *repo)
                argv[dest_argc] = NULL;
                if (verbose)
                        fprintf(stderr, "Pushing to %s\n", dest);
-               err = run_command_v(argv);
+               err = run_command_v_opt(argv, 0);
                if (!err)
                        continue;
                switch (err) {