diff options
Diffstat (limited to 'builtin-archive.c')
-rw-r--r-- | builtin-archive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-archive.c b/builtin-archive.c index 2df1a84b85..a8a1f079bf 100644 --- a/builtin-archive.c +++ b/builtin-archive.c @@ -249,7 +249,7 @@ int cmd_archive(int argc, const char **argv, const char *prefix) if (remote) return run_remote_archiver(remote, argc, argv); - setlinebuf(stderr); + setvbuf(stderr, NULL, _IOLBF, BUFSIZ); memset(&ar, 0, sizeof(ar)); tree_idx = parse_archive_args(argc, argv, &ar); |