From: Junio C Hamano Date: Mon, 24 Jul 2017 20:57:11 GMT Subject: Re: [PATCH] recursive submodules: detach HEAD from new state Message-ID: In-Reply-To: Stefan Beller writes: >> Are you saying >> the current behavior of updating whatever branch HEAD is on (which, >> don't get me wrong, is a wrong behavior that needs fixing) bypassed >> the reflog? > > No, I am not saying that. > I am saying that updating an unrelated branch (which is dragged into > the affair just because HEAD points at it) is very subtle thing, as any > commits on that branch can be considered safe (it is on a branch, right?) > but the detached HEAD is the default unsafe mode we currently have. Then it is not a data loss as you claimed in the proposed log message, but is something else, no?