Merge "Fix message if pushing tag is rejected because tagger is somebody else"
This commit is contained in:
commit
bfc291252b
@ -19,6 +19,9 @@ In particular this error occurs:
|
||||
access right on 'refs/tags/*'
|
||||
4. if you push a lightweight tag without the access right link:access-control.html#category_create['Create
|
||||
Reference'] for the reference name 'refs/tags/*'
|
||||
5. if you push a tag with somebody else as tagger and you don't have the
|
||||
link:access-control.html#category_forge_committer['Forge Committer']
|
||||
access right for the reference name 'refs/tags/*'
|
||||
|
||||
For new users it often happens that they accidentally try to bypass
|
||||
code review. The push then fails with the error message 'prohibited
|
||||
|
@ -837,7 +837,7 @@ public class ReceiveCommits {
|
||||
batch.addCommand(cmd);
|
||||
} else {
|
||||
errors.put(Error.CREATE, ctl.getRefName());
|
||||
reject(cmd, "can not create new references");
|
||||
reject(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user