Re: [PATCH] reset: avoid reflog update on no-op reset
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 23, 2026, 16:18 UTC
- Message-ID
- <xmqq7bt8joae.fsf@gitster.g>
- In-Reply-To
- <SL2P216MB1885C5C9B75A38AE99E5511DA294A@SL2P216MB1885.KORP216.PROD.OUTLOOK.COM>
Pushkar Singh <pushkarkumarsingh1970@gmail.com> writes:
> ... or to rework it in a way that preserves the reflog > entry while addressing the underlying concern (if there is one).
I am OK as long as this patch does not come back in its current form ;-), but it is curious what "the underlying concern" is. It sounds like you see some problems that need to be addressed if the current "the act of resetting to the same commit is recorded in the reflog", but I am not sure what they are.
Thanks.