From: Robin Rosenberg Date: Sun, 10 Feb 2008 13:29:04 GMT Subject: Re: [RFC/PATCH] Implement git-cp. Message-ID: <200802101429.04765.robin.rosenberg.lists@dewire.com> In-Reply-To: <7vzlu9uu7c.fsf@gitster.siamese.dyndns.org> söndagen den 10 februari 2008 skrev Junio C Hamano: > Johannes Schindelin writes: > > > If you touch builtin-mv.c already, why not just move cmd_cp() in there? > > It's not like it would be the first cmd_*() function living in the same > > file as other cmd_*() functions. > > Why do we even want "git-cp", especially when git-mv and git-rm > are already pretty much redundant commands? > > Especially, why do we even encourage copy-and-paste? We do not. I've seen too much damage being done through copy/paste. A much better (safer) way to copy code is to re-type it. I've asked more than once, when asked to help debug a piece of code: "Did you copy this code?". For this reason I have a vision of a "plugin" for Eclipse that disables paste if the clipboard contains copied code. Cut and paste would be ok. -- robin