Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] reset: Better warning message on git reset --mixed <paths>

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:19

Jonathan Nieder [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help