From: Junio C Hamano Date: Sun, 08 May 2011 20:03:03 GMT Subject: Re: How to fork a file (git cp ?) Message-ID: <7vd3jtrmdk.fsf@alter.siamese.dyndns.org> In-Reply-To: <4DC6F1C8.8040007@pcharlan.com> Pete Harlan writes: > Rename detection compares new files against deleted files. Copy > detection compares new files against every file in the tree, which is > usually much more costly. Almost correct. Copy detection usually compares new paths with paths modified in the same commit. "Every file in the tree" is done only when you ask to find copies harder.