mirror of
https://github.com/git/git.git
synced 2025-01-24 08:24:26 +08:00
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>
This commit is contained in:
parent
34c99da2a4
commit
476e801111
@ -269,6 +269,8 @@ int main(int argc, char **argv)
|
||||
|
||||
setup_git_directory();
|
||||
|
||||
quiet = !isatty(2);
|
||||
|
||||
for (i = 1 ; i < argc; i++) {
|
||||
const char *arg = argv[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user