Thread (24 messages) 24 messages, 6 authors, 2016-08-11

Re: What's in git.git (stable)

flat view

From: Andy Parkins <hidden>
Date: 2016-08-11 20:14:36

On Thursday 2006, December 14 17:23, Nicolas Pitre wrote:
Well, people are used to say they've "reverted" a change.  Although the
command might appear slightly misnamed wrt its operation, it still does
what most people are expecting from such a name.
Actually , not only is git-revert misnamed, it doesn't match up with most 
other SCMs.

"svn revert" is git-reset.
"bzr revert" is git-reset.
"darcs revert" is git-reset.
"hg revert" is git-reset.
"svk revert" is git-reset.
"monotone revert" is git-reset.

Most people must surely be expecting it to do what it does in every other SCM; 
as it doesn't my argument is that we should just drop the name "revert" and 
call it git-invert instead, which is more accurately named and doesn't 
conflict with the standard meaning.


Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help