Re: git diff woes
- From
Miles Bader <miles.bader@necel.com>
- Date
- Nov 13, 2007, 02:53 UTC
- Message-ID
- <buomytin9dz.fsf@dhapc248.dev.necel.com>
- In-Reply-To
- <4738E9E6.2040001@op5.se>
Andreas Ericsson <ae@op5.se> writes:
> I notice it, and I don't like it. I guess I'm just used to git being > smarter than their GNU tool equivalents, especially since it only ever > applies patches in full.
It's not at all obvious that this behavior is actually wrong -- it seems perfectly reasonable to use either old or new text for the hunk headers.
It hardly matters really, since that particular output is just "useful noise" to provide a bit of helpful context for human readers, and humans (unlike programs) are notoriously good at not being bothered by such things. Er, well most humans anyway.
-Miles
-- Americans are broad-minded people. They'll accept the fact that a person can be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a man doesn't drive, there is something wrong with him. -- Art Buchwald