Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes: > 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 - 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