1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-29 05:06:09 +02:00

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
parent 75bfc6c232
commit 7620d39fcb

View File

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