Re: How to fork a file (git cp ?)
- From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
- Date
- May 5, 2011, 20:06 UTC
- Message-ID
- <BANLkTimn9uKXfRDFnmOhbs6=93xASQ42-g@mail.gmail.com>
- In-Reply-To
- <BANLkTikE8aMh6RUDzrh=SuOxvKxuPShQhQ@mail.gmail.com>
On Thu, May 5, 2011 at 10:01 PM, Piotr Krukowiecki <piotr.krukowiecki@gmail.com> wrote:
Show 13 quoted lines
> 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