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, 04:54 UTC
- Message-ID
- <7vode8j7o5.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.LNX.4.64.0711060317220.4362@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 10 quoted lines
> On Mon, 5 Nov 2007, Junio C Hamano wrote: > >> Allowing people to revert or cherry pick partially by using paths >> limiter is a very good idea; the whole "it comes from a commit so we >> also commit" feels an utter nonsense, though. > > No. > > When "git revert <commit>" commits the result, "git revert <commit> -- > <file>" should, too.
I was not questioning about that part. "If 'git revert <some other form> foo' does not talk about commit, it should not commit" was what I was referring to.