From: Mikhail T. Date: Thu, 05 May 2011 19:31:22 GMT Subject: Re: How to fork a file (git cp ?) Message-ID: <4DC2FB0A.2090100@aldan.algebra.com> In-Reply-To: <7v1v0ddhbz.fsf@alter.siamese.dyndns.org> 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... On 05.05.2011 14:02, Piotr Krukowiecki wrote: > Maybe Mikhail wanted to say that if there's a git-mv as a shortcut for > "cp old new ; rm old; add new" git-mv preserves the old's change-history in new, so it is more than the above, is not it? > then there should be a git-cp as a shortcut for Yes... -mi