提交 7620d39f 编写于 作者: L Linus Torvalds

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.
上级 75bfc6c2
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册