зеркало из https://github.com/microsoft/git.git
archive: force line buffered output to stderr
Otherwise the remote notification that comes with -v option can get clumped together. Signed-off-by: Junio C Hamano <junkio@cox.net> (cherry picked from a675cda60ead41f439b04bc69e0f19ace04e59d3 commit)
This commit is contained in:
Родитель
326711c168
Коммит
8142f603b9
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче