receive-pack: turn on connectivity progress
[gitweb.git] / builtin / receive-pack.c
index d309109abbdb2cb3d6d3562ec1004fd5273b4c34..7db16392798e00a7a4f4d4e09031fd0815de313b 100644 (file)
@@ -1342,6 +1342,7 @@ static void execute_commands(struct command *commands,
        data.cmds = commands;
        data.si = si;
        opt.err_fd = err_fd;
+       opt.progress = err_fd && !quiet;
        if (check_connected(iterate_receive_command_list, &data, &opt))
                set_connectivity_errors(commands, si);