summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-archive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-archive.c b/builtin-archive.c
index c70488c..3a8be57 100644
--- a/builtin-archive.c
+++ b/builtin-archive.c
@@ -238,6 +238,8 @@ int cmd_archive(int argc, const char **argv, const char *prefix)
if (remote)
return run_remote_archiver(remote, argc, argv);
+ setlinebuf(stderr);
+
memset(&ar, 0, sizeof(ar));
tree_idx = parse_archive_args(argc, argv, &ar);
if (prefix == NULL)