Re: How to fork a file (git cp ?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/5/2011 1:01 PM, Piotr Krukowiecki wrote:
On Thu, May 5, 2011 at 9:31 PM, Mikhail T.<mi+thun@xxxxxxxxxxxxxxxxx>  wrote:
On 04.05.2011 22:14, Junio C Hamano wrote:

I think that is what exactly "blame -C -C" gives you.

For that to be useful, one has to suspect, the file was derived by copying
something else... Simple "git log" will not suggest that -- unless the
commit message, that adds the new copy of a file points to it...

Maybe it should be the default (performance issues?)

...

BTW, I don't understand why 'status' shows renames but not copies:

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.

--Pete
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]