From: Junio C Hamano Date: Wed, 11 Sep 2013 18:45:06 GMT Subject: Re: [PATCH 1/2] reset: handle submodule with trailing slash Message-ID: In-Reply-To: <20130911182233.GW2582@serenity.lan> John Keeping writes: > However, I think we do do a read_cache when using "reset --soft" since > we go through builtin/reset.c::die_if_unmerged_cache() which dies if > read_cache fails. So I don't think we are losing anything by moving > this check earlier. Thanks.