From: Patrick Steinhardt Date: Fri, 03 Jul 2026 08:42:08 GMT Subject: Re: [PATCH v8 06/11] reset: introduce ability to skip updating HEAD Message-ID: In-Reply-To: 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? Patrick