X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport-helper.c;h=ca8fa92e638e2589e2b6b8ffbe21ac824b5274a5;hb=85e2233f982f760d0e731b1258da2580834d8027;hp=6ece0d9875652e5d648be7e18ddf2084c564fc12;hpb=d0605072911a4c93a7eacf1fb55e79227c457e34;p=git.git diff --git a/transport-helper.c b/transport-helper.c index 6ece0d987..ca8fa92e6 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -273,7 +273,7 @@ static void standard_options(struct transport *t) char buf[16]; int n; int v = t->verbose; - int no_progress = v < 0 || (!t->progress && !isatty(1)); + int no_progress = v < 0 || (!t->progress && !isatty(2)); set_helper_option(t, "progress", !no_progress ? "true" : "false");