Re: [PATCH 0/3] Teach Git about the patience diff algorithm
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jan 9, 2009, 18:09 UTC
- Message-ID
- <alpine.LFD.2.00.0901091001260.6528@localhost.localdomain>
- In-Reply-To
- <alpine.DEB.1.00.0901091405460.30769@pacific.mpi-cbg.de>
On Fri, 9 Jan 2009, Johannes Schindelin wrote:
> > -- snipsnap -- > [TOY PATCH] Add diff option '--collapse-non-alnums'
I really don't think it should be about "alnum".
Think about languages that use "begin" and "end" instead of "{" "}".I think we'd be better off just looking at the size, but _this_ is a really good area where "uniqueness" matters.
Don't combine unique lines, but lines that have the same hash as a thousand other lines? Go right ahead.
Linus