From: Stefan Sperling Subject: Re: gotd protected references To: Omar Polo Cc: gameoftrees@openbsd.org Date: Wed, 5 Apr 2023 18:42:24 +0200 On Wed, Apr 05, 2023 at 02:16:32PM +0200, Omar Polo wrote: > 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@ Thanks, committed. > 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/ Oh, good idea.