Re: [PATCH 2/2] Allow fetch-pack to decide keeping the fetched pack without exploding
- From
David Kågedal <davidk@lysator.liu.se>
- Date
- Jan 23, 2007, 16:28 UTC
- Message-ID
- <87sle17lnm.fsf@morpheus.local>
- In-Reply-To
- <Pine.LNX.4.64.0701230809440.32200@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 8 quoted lines
> On Tue, 23 Jan 2007, Johannes Schindelin wrote: >> >> P.S.: These patches make me dream of yet another diff format enhancement: >> code moves! > > It's basically impossible. > > Why? You need the context.
Yes, I think that a diff format for code moves wouldn't be useful. What could potentially be useful is a graphical diff browser that can e.g. show two versions side-by-side and show code moves in that. I have a vague memory that the ClearCase merge tool did that.
But as long as the code moves are within a single file, that merge tool could derive that move from an ordinary diff.
-- David Kågedal