Re: [RFC/PATCH] Implement git-cp.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, Miklos Vajna <vmiklos@...>, Matthieu Moy <Matthieu.Moy@...>, Francis Moreau <francis.moro@...>, <git@...>
Date: Sunday, February 10, 2008 - 9:30 pm

Junio C Hamano wrote:

git-rm is not redundant: without it how we could easily un-add
a file (without resorting to porcelain or tricks). I think it
is also safer that ordinary rm (check for being up-to-date, i.e.
for modified files).

The above also reflects git-mv, as half of it is git-rm (although
without some issues). Also git-mv could skip over non git-controlled
files.


But git-cp would be IMHO a convenience only. The half of pros for
git-mv applies to this too; unfortunately the second part of pros
for git-mv does not apply for git-cp.

Would git-cp encourage copy'n'paste programming? I'm not sure...

-- 
Jakub Narebski
Poland
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What about git cp ?, Francis Moreau, (Sun Feb 3, 2:23 pm)
Re: What about git cp ?, Remi Vanicat, (Sun Feb 3, 2:55 pm)
Re: What about git cp ?, Matthieu Moy, (Sun Feb 3, 2:46 pm)
Re: What about git cp ?, Jakub Narebski, (Sun Feb 3, 3:07 pm)
[RFC/PATCH] Implement git-cp., Miklos Vajna, (Sat Feb 9, 9:12 pm)
Re: [RFC/PATCH] Implement git-cp., Johannes Schindelin, (Sat Feb 9, 9:26 pm)
[PATCH] Implement git-cp., Miklos Vajna, (Sun Feb 10, 2:24 pm)
Re: [RFC/PATCH] Implement git-cp., Junio C Hamano, (Sun Feb 10, 3:49 am)
Re: [RFC/PATCH] Implement git-cp., Matthieu Moy, (Mon Feb 11, 6:18 am)
Re: [RFC/PATCH] Implement git-cp., Miklos Vajna, (Mon Feb 11, 9:43 am)
Re: [RFC/PATCH] Implement git-cp., Jakub Narebski, (Sun Feb 10, 9:30 pm)
Re: [RFC/PATCH] Implement git-cp., Robin Rosenberg, (Sun Feb 10, 9:29 am)
Re: [RFC/PATCH] Implement git-cp., Johannes Schindelin, (Sun Feb 10, 8:33 am)
Re: [RFC/PATCH] Implement git-cp., Miklos Vajna, (Sun Feb 10, 8:42 am)