diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-18 00:58:58 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-18 00:58:58 +0100 |
commit | 42aac96763a72b5bac73d34640d3a0c6233027a6 (patch) | |
tree | 8979b93510d3d1fe1334c72fc47c4f91c90b07f3 /transport-helper.c | |
parent | Merge branch 'tc/smart-http-restrict' (diff) | |
parent | clone: use --progress to force progress reporting (diff) | |
download | git-42aac96763a72b5bac73d34640d3a0c6233027a6.tar.xz git-42aac96763a72b5bac73d34640d3a0c6233027a6.zip |
Merge branch 'tc/clone-v-progress'
* tc/clone-v-progress:
clone: use --progress to force progress reporting
clone: set transport->verbose when -v/--verbose is used
git-clone.txt: reword description of progress behaviour
check stderr with isatty() instead of stdout when deciding to show progress
Conflicts:
transport.c
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport-helper.c b/transport-helper.c index 6ece0d9875..ca8fa92e63 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"); |