projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bfc6c
)
Make rev-list flush the stdio buffers after each rev.
author
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 4 Jul 2005 23:36:48 +0000
(16:36 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 4 Jul 2005 23:36:48 +0000
(16:36 -0700)
We'd rather get the revisions in a slow but timely manner than
have to wait for them.
rev-list.c
patch
|
blob
|
history
diff --git
a/rev-list.c
b/rev-list.c
index d836feb86aa501a26ef7a31c6f5612532fa6c936..17995c34c4eae779caa36e525e9ffb72e22d87f3 100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-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)