allow 'D' for @all repos
...so that the new semantics can be made system-default if someone wants to do that
This commit is contained in:
parent
967af2c993
commit
5aba13cd80
2 changed files with 14 additions and 1 deletions
|
@ -77,7 +77,7 @@ $perm = '+' if $oldsha ne $merge_base;
|
|||
|
||||
# were any 'D' perms specified? If they were, it means we have to separate
|
||||
# deletes from rewinds, so if the new sha is all 0's, change the '+' to a 'D'
|
||||
$perm = 'D' if $repos{$ENV{GL_REPO}}{DELETE_IS_D} and $newsha eq '0' x 40;
|
||||
$perm = 'D' if ( $repos{$ENV{GL_REPO}}{DELETE_IS_D} or $repos{'@all'}{DELETE_IS_D} ) and $newsha eq '0' x 40;
|
||||
|
||||
my @allowed_refs;
|
||||
# @all repos: see comments in similar code in check_access
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue