From: Harald Nordgren Date: Tue, 27 Oct 2026 19:33:39 GMT Subject: Re: [PATCH v2 0/3] reflog: add --operations and --historical-branch Message-ID: In-Reply-To: On Tue, Oct 27, 2026 at 3:40 PM Ben Knoble wrote: > > > > Le 26 oct. 2026 à 11:07, Junio C Hamano a écrit : > > > > Harald Nordgren writes: > > > >>> It would certainly be nice to avoid creating lots of entries in the > >>> branch reflog when cherry-picking. I'm not sure what users would make of > >>> us switching to a detached HEAD as some people seem to find it > >>> confusing; if we do decide to do that we should make sure we update "git > >>> status" to explain what's happening. I'm more relaxed about changing > >>> "git am", but like you I normally detach HEAD first so maybe I'm not the > >>> best person to ask about that. > >> I think that the fact that all of us have our tricks to work around > >> things is indicative of a real problem. > >> We should attack the root cause and simplify git so that even us would > >> prefer vanilla git. > > > > I do use and prefer vanilla Git as it was designed to work, though. > > But you also workaround limitations in am by detaching ;) > which I think was Harald’s bigger point: let’s eliminate the need for such. Yes, on the bigger picture. The specific example I had in mind was using 'git reflog @{0}', which I never knew about and will use from now on. I'm looking into maybe making this the default as well. Harald