Re: [PATCH 2/5] diff --quiet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 15 Mar 2007, Alex Riesen wrote:

> On 3/15/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]