зеркало из https://github.com/microsoft/git.git
Make rev-list flush the stdio buffers after each rev.
We'd rather get the revisions in a slow but timely manner than have to wait for them.
This commit is contained in:
Родитель
75bfc6c232
Коммит
7620d39fcb
|
@ -63,7 +63,8 @@ static void show_commit(struct commit *commit)
|
|||
static char pretty_header[16384];
|
||||
pretty_print_commit(commit_format, commit->buffer, ~0, pretty_header, sizeof(pretty_header));
|
||||
printf("%s%c", pretty_header, hdr_termination);
|
||||
}
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
static int filter_commit(struct commit * commit)
|
||||
|
|
Загрузка…
Ссылка в новой задаче