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

Re: [PATCH 04/19] reset: don't allow "git reset -- $pathspec" in bare repo

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:55:42

Martin von Zweigbergk [off-list ref] writes:
    ... Fix by moving
    the branching point after the check.
OK, that is what I missed.  We have an existing check for mixed
reset, which was originally meant to handle case without any
pathspec but can use the same error condition (i.e. type is mixed
and repository is bare) and error message (i.e. no mixed reset in
a bare repository).  "reset with pathspec" was done before that
check kicked in.

Thanks for clarification (and sorry for the noise).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help