Re: possible 'git cp'/how does git detect copies

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Vajna
Date: Friday, June 27, 2008 - 6:09 am

On Fri, Jun 27, 2008 at 03:00:06PM +0200, Pierre Habouzit <madcoder@debian.org> wrote:

Actually that's not that easy. git-mv moves untracked files and adds
tracked files to the index as well. So such a git-cp would have to copy
tracked and untracked files, and add tracked files to the index.

I did it in the past:

http://thread.gmane.org/gmane.comp.version-control.git/72388/focus=73347

but then we agreed about it's better not encouraging copy-and-paste.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
possible 'git cp'/how does git detect copies, Mircea Bardac, (Fri Jun 27, 5:40 am)
Re: possible 'git cp'/how does git detect copies, Santi Béjar, (Fri Jun 27, 5:57 am)
Re: possible 'git cp'/how does git detect copies, Pierre Habouzit, (Fri Jun 27, 6:00 am)
Re: possible 'git cp'/how does git detect copies, Johannes Sixt, (Fri Jun 27, 6:05 am)
Re: possible 'git cp'/how does git detect copies, Miklos Vajna, (Fri Jun 27, 6:09 am)
Re: possible 'git cp'/how does git detect copies, Mircea Bardac, (Fri Jun 27, 6:16 am)