On Sat, Oct 11, 2008 at 09:39:49AM +1100, Paul Mackerras wrote:
Actually, what was done with git diff-tree --stdin was to have it do
fflush(stdout) when it sees a blank line in the input. That gives the
calling program a way to get the output up to that point without
having to do a flush for every line of output.
It is an interesting idea, but I have not seen any other git command
doing so, and my measurement in git repo on Linux have not offered
any noticeable speed-up. So, I am not sure if it is worth it.
Dmitry