"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotd protected references
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 05 Apr 2023 14:16:32 +0200

Download raw body.

Thread
On 2023/04/05 10:54:20 +0200, Stefan Sperling <stsp@stsp.name> 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/