Re: [PATCH 2/5] diff --quiet
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 15, 2007, 21:12 UTC
- Message-ID
- <Pine.LNX.4.63.0703152211050.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <81b0412b0703151408v5e6245f4l95fb7cc801e1b568@mail.gmail.com>
Hi,
On Thu, 15 Mar 2007, Alex Riesen wrote:
Show 7 quoted lines
> On 3/15/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > > (That, however, works only if you do not want something like "git diff > > > > -w"...) > > > > > > Why? Can't "git diff -w" quit early? > > > > No, but "-w" means "ignore white space", which means that blobs can be
> > deemed equal, even if they differ at the byte-per-byte level. > > So it can leave early as soon as it found a difference on byte level > and the difference is not white space, can't it?
Yes.
The point I tried to make: without "-w" or "-b", you can compare at the tree level. No need for a --quiet option. (Of course, you showed me that you'd need it for index-tree comparisons anyway.)
Ciao, Dscho