Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 6, 2007, 19:42 UTC
- Message-ID
- <7vir4fgnz1.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071106193959.GB4382@artemis.corp>
Pierre Habouzit <madcoder@debian.org> writes:
Show 27 quoted lines
> On Tue, Nov 06, 2007 at 06:27:54PM +0000, Johannes Schindelin wrote: >> Hi, >> >> On Tue, 6 Nov 2007, Junio C Hamano wrote: >> >> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: >> > >> > > Well, I think that _if_ we allow "git revert <path>" to mean "revert the >> > > changes to <path>, relative to the index" (which would be the same as "git >> > > checkout <path>"), then committing that change just does not make sense. >> > > >> > > And it is this behaviour that people are seeking, not "git revert <commit> >> > > <path>". >> > >> > Heh, I found this in the recent log somewhere. >> > >> > <gitte> Really, I wonder how difficult git is for people who are not >> > brainwashed by cvs/svn, and unfortunately enough, partly by bzr and hg. >> > <gitte> From a user perspective, you might be correct. But then we have to >> > add 1000 commands to reflect the English language. >> > <gitte> Not what I want. [06:46] >> > >> > I am wondering who said it ;-). >> >> Now, that is not fair, using my own words against me ;-) > > That's very funny actually :]
Yeah, it was doubly funny after I saw you posted a list of "$scm revert" and Dscho still sided with you in that thread.