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

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

 



On Thu, May 5, 2011 at 10:01 PM, Piotr Krukowiecki
<piotr.krukowiecki@xxxxxxxxx> wrote:
> BTW, I don't understand why 'status' shows renames but not copies:
>
> $ cp f fcp && git add fcp && git status
> # Changes to be committed:
> #       new file:   fcp
>
> $ mv f fmv && git add fmv && git rm f && git status
> # Changes to be committed:
> #       renamed:    f -> fmv
>
> I would expect sth like "copied: f -> fcp".
> Not sure what about one file copied to multiple files, but I suppose
> renames have the same problem.

I mean similar problem - you can delete one or more identical files and add one
or more new files with the same content.


> It should not be a problem performance-wise...


-- 
Piotr Krukowiecki
--
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]