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:
Linus Torvalds 2005-07-04 16:36:48 -07:00
Родитель 75bfc6c232
Коммит 7620d39fcb
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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)