From: Stefan Sperling Subject: Re: gotd: can't append to protected branch To: Martijn van Duren , gameoftrees@openbsd.org Date: Sat, 12 Jul 2025 11:47:14 +0200 On Sat, Jul 05, 2025 at 10:55:47AM +0200, Stefan Sperling wrote: > On Fri, Jun 13, 2025 at 02:00:12PM +0200, Martijn van Duren wrote: > > Hello all, > > > > For libopensmtpd[0] I tried to merge the mdoc_lb branch into main, but > > when trying to send it to upstream I'm greeted with a "reference is > > protected". When doing some printf debugging I found myself in > > protect_refs_from_moving(), which is only called from a single place, > > when a modification is requested without a packfile. > > So it appears I've hit another issue with protected branches and > > modifications. :-) > > Thanks for reporting this! The following patch fixes this issue: This fix has now been committed.