Re: [PATCH 2/2 v2] check-attr: Add --stdin-paths option
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Oct 12, 2008, 14:30 UTC
- Message-ID
- <20081012143019.GE21650@dpotapov.dyndns.org>
- In-Reply-To
- <18671.55733.970601.454074@cargo.ozlabs.ibm.com>
On Sat, Oct 11, 2008 at 09:39:49AM +1100, Paul Mackerras wrote:
Show 5 quoted lines
> > 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