Re: [RFC/PATCH] Implement git-cp.
From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:44:12
söndagen den 10 februari 2008 skrev Junio C Hamano:
Johannes Schindelin [off-list ref] writes:quoted
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