From: Junio C Hamano Date: Thu, 10 Jan 2013 18:04:17 GMT Subject: Re: [PATCH 04/19] reset: don't allow "git reset -- $pathspec" in bare repo Message-ID: <7vvcb429um.fsf@alter.siamese.dyndns.org> In-Reply-To: Martin von Zweigbergk 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).