From: Junio C Hamano Date: Fri, 03 Jul 2026 17:33:51 GMT Subject: Re: [PATCH v8 06/11] reset: introduce ability to skip updating HEAD Message-ID: In-Reply-To: Patrick Steinhardt writes: > On Fri, Jul 03, 2026 at 08:59:30AM +0200, Christian Couder wrote: >> On Wed, Jul 1, 2026 at 1:35 PM Patrick Steinhardt wrote: >> >> > @@ -113,6 +114,9 @@ int reset_working_tree(struct repository *r, >> > if (opts->branch_msg && !opts->branch) >> > BUG("branch reflog message given without a branch"); >> > >> > + if (update_orig_head && !update_head) >> > + BUG("cannot update ORIG_HEAD without updating HEAD" ); >> >> There is a spurious space character between `HEAD"` and `);`. > > Ugh, indeed, well spotted. Junio, is this something you can fix up or > shall I send a new version for this? I just locally updated it, so no need to resend the whole series, as there does not seem to be any other issues. Thanks, all.