Re: [PATCH] Re-re-re-fix common tail optimization
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Dec 17, 2007, 12:08 UTC
- Message-ID
- <57245FA1-361B-4333-B490-A2CC99ED4F9C@wincent.com>
- In-Reply-To
- <Pine.LNX.4.64.0712171151490.9446@racer.site>
El 17/12/2007, a las 12:57, Johannes Schindelin escribió:
Show 13 quoted lines
> Hmm. There is some chicken-and-egg problem here (I read the thread, > but > did not really see a problem, as I assumed that _other_ tests would > assure > that "git diff --no-index" works as expected). > > But as at least one released version of GNU diff has a pretty > serious bug, > I would rather not rely too much on diff. (BTW this was the reason I > wanted --no-index so badly.) > > So yeah, the second "diff" cannot be "git diff". Maybe "cmp", but not > "git diff".
Well cmp would be fine as well, seeing all we want is a boolean "is this the same or not" answer. (I'm not familiar with the GNU diff bug you speak of, but was it so bad that it couldn't even get *that* answer right?)
Cheers, Wincent