author | Tay Ray Chuan <rctay89@gmail.com> | |
Fri, 25 Dec 2009 17:12:03 +0000 (01:12 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Dec 2009 02:49:18 +0000 (18:49 -0800) | ||
commit | 486a3d716427ac81594fe63d4e9cae64703dbc56 | |
tree | 1c13bedf6777331e9d88ae402605f47e117fa02d | tree | snapshot |
parent | 902f235378cb2b2f6dd5dd664b9630c95321f0ae | commit | diff |
check stderr with isatty() instead of stdout when deciding to show progress
Make transport code (viz. transport.c::fetch_refs_via_pack() and
transport-helper.c::standard_options()) that decides to show progress
check if stderr is a terminal, instead of stdout. After all, progress
reports (via the API in progress.[ch]) are sent to stderr.
Update the documentation for git-clone to say "standard error" as well.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Make transport code (viz. transport.c::fetch_refs_via_pack() and
transport-helper.c::standard_options()) that decides to show progress
check if stderr is a terminal, instead of stdout. After all, progress
reports (via the API in progress.[ch]) are sent to stderr.
Update the documentation for git-clone to say "standard error" as well.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt | diff | blob | history | |
transport-helper.c | diff | blob | history | |
transport.c | diff | blob | history | |
transport.h | diff | blob | history |