@matheusbsbs / matheus-bagliano / commits / 476e801111
Fork 0

unpack-objects: default to quiet if stderr is not a tty.

This would help cron/at jobs that run send-pack to mirror repositories. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jan 6, 2006 at 18:53 UTC 476e801111698ac5df6821f389c81abc017fc0c9
1 file changed +2
unpack-objects.c
+2
@@ -269,6 +269,8 @@ int main(int argc, char **argv)
269
270 setup_git_directory();
271
272 + quiet = !isatty(2);
273 +
274 for (i = 1 ; i < argc; i++) {
275 const char *arg = argv[i];
276