Re: [PATCH v8 00/11] builtin/history: introduce "drop" subcommand
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 1, 2026, 17:12 UTC
- Message-ID
- <xmqq1pdmprbk.fsf@gitster.g>
- In-Reply-To
- <20260701-b4-pks-history-drop-v8-0-19b5cdf1facd@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> Changes in v8: > - Pass `RESOLVE_REF_READING` to make `refs_resolve_ref_unsafe()` > return a NULL pointer when it cannot resolve the reference.
OK.
> - Drop unneeded code that sets `head_target = "HEAD"` on detached > HEAD.
OK.
> - Add a test case that verifies that we can drop commits with > "--update-refs=head" and a detached HEAD.
OK.
Sounds good. Will replace. Thanks.