Re: [PATCH v2 0/3] reflog: add --operations and --historical-branch
- From
Ben Knoble <ben.knoble@gmail.com>
- Date
- Oct 27, 2026, 13:40 UTC
- Message-ID
- <C1614059-9903-4F95-8570-90EC5DEFAE8F@gmail.com>
- In-Reply-To
- <xmqq1p9cv6tp.fsf@gitster.g>
Show 17 quoted lines
> Le 26 oct. 2026 à 11:07, Junio C Hamano <gitster@pobox.com> a écrit : > > Harald Nordgren <haraldnordgren@gmail.com> 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.