prune-packed: only show progress when stderr is a tty
commit1ddf5efc66d92282e3c654ebf263538a0df2ac24
authorJeff King <peff@peff.net>
Tue, 24 Nov 2009 03:07:42 +0000 (23 22:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Nov 2009 05:29:45 +0000 (23 21:29 -0800)
tree099b67f3a26c5a22e4d534116d8a18ddf13165b8
parentaa8dc9679a6a7daea261abe969af331c741a9f2c
prune-packed: only show progress when stderr is a tty

This matches the behavior of other git programs, and helps
keep cruft out of things like cron job output.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-prune-packed.c