Re: [PATCH] reset: Better warning message on git reset --mixed <paths>
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 15, 2010, 22:18 UTC
- Message-ID
- <7viq3bfrjy.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100815194913.GB1856@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
> Nothing major. It would be the same inconsistency as we currently have > between "checkout <commit> -- <pathspec>" and "checkout <commit> --": > one updates the HEAD (or rather, for "reset", the current branch), > while the other doesn’t.
What do you mean by inconsistency? One is checking out the whole branch to work on the named branch, while the other is checking out individual paths out of branch to work on them in the current branch.
They are entirely different operations.