From: Omar Polo Subject: Re: gotd protected references To: Stefan Sperling Cc: gameoftrees@openbsd.org Date: Wed, 05 Apr 2023 14:16:32 +0200 On 2023/04/05 10:54:20 +0200, Stefan Sperling wrote: > On Wed, Apr 05, 2023 at 08:27:35AM +0200, Stefan Sperling wrote: > > We should detect cases where branches and tags overlap and error out: > > > > protect branch namespace foo/ > > protect tag namespace foo/ > > Here is a diff for this: ok op@ going fancy with this we could even check that we don't add a branch namespace under a tag one, e.g. something like the following which is currently permitted: protect branch namespace refs/foo/bar/ protect tag namespace refs/foo/