Re: [PATCH] Detect renames in diff family.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 21, 2005, 09:37 UTC
- Message-ID
- <7vzmuokjhg.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0505190901340.2322@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> [ rambling mode on: ]
LT> One thing that struck me is that there is nothing wrong with having the LT> same old file marked twice for a rename, or considering new files to be LT> copies of old files. So if we ever allow that, then "rename" may be the LT> wrong name for this, since the logic certainly allows the old file to LT> still exist (or be removed and show up multiple times in a new guise).
People say be careful what you wish and for a reason. You may get it ;-). I am sending the following:
[PATCH 1/3] Diff overhaul, adding half of copy detection. [PATCH 2/3] Introducing software archaeologist's tool "pickaxe". [PATCH 3/3] Diff overhaul, adding the other half of copy detection.