diff options
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/transport-helper.c b/transport-helper.c index 3d33697a4b..3e69ebd188 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -279,9 +279,8 @@ static void standard_options(struct transport *t) char buf[16]; int n; int v = t->verbose; - int no_progress = v < 0 || (!t->progress && !isatty(2)); - set_helper_option(t, "progress", !no_progress ? "true" : "false"); + set_helper_option(t, "progress", t->progress ? "true" : "false"); n = snprintf(buf, sizeof(buf), "%d", v + 1); if (n >= sizeof(buf)) |