Download raw body.
gotd protected references
On Wed, Apr 05, 2023 at 02:16:32PM +0200, Omar Polo wrote: > 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@ 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.
gotd protected references