Re: [PATCH 2/5] diff --quiet
On 3/15/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 7 quoted lines
> > > $ git-rev-parse v2.6.16^{tree} v2.6.20^{tree}
> > >
> >
> > Why would I want to benchmark --quiet with rev-parse?
>
> It is not benchmarking, but it is a faster solution: you can see if two
> trees are different by comparing their SHA-1s.Can the same be done for index? (index-tree comparison)
> (That, however, works only if you do not want something like "git diff
> -w"...)
Why? Can't "git diff -w" quit early?