1
0
mirror of https://github.com/git/git.git synced 2025-03-16 20:15:26 +00:00
git/builtin
Avery Pennarun e9fc64c60a checkout: no progress messages if !isatty(2).
If stderr isn't a tty, we shouldn't be printing incremental progress
messages.  In particular, this affects 'git checkout -f . >&logfile'
unless you provided -q.  And git-new-workdir has no way to provide -q.

It would probably be better to have progress.c check isatty(2) all the time,
but that wouldn't allow things like 'git push --progress' to force progress
reporting to on, so I won't try to solve the general case right now.

Actual fix suggested by Jeff King.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-05-24 11:29:07 -07:00
..
2012-01-06 12:44:07 -08:00
2012-03-28 15:19:17 -07:00
2012-04-18 16:17:42 -07:00
2012-03-01 20:59:31 -08:00
2011-12-28 11:32:36 -08:00
2011-12-22 11:27:26 -08:00
2012-02-20 00:15:28 -08:00