From: Junio C Hamano Date: Sun, 15 Aug 2010 22:22:15 GMT Subject: Re: [PATCH] reset: Better warning message on git reset --mixed Message-ID: <7veidzfre0.fsf@alter.siamese.dyndns.org> In-Reply-To: Ævar Arnfjörð Bjarmason writes: > So it's a question of whether git-reset should do all reset-y things > without complaining, even when that infringes on git-checkout's > domain. I'm not sure about "domain"; do not think we should also forbid for the same argument "git reset --soft" because it violates update-ref's domain? I changed my mind; I do not like "git reset --hard -- " doing "checkout -- ", unless we limit this when is not given (or perhaps when is the same as HEAD). Otherwise it would make things harder to explain. So let's forget about it now.