mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 07:47:02 +02:00
Backport #25578 This PR added a repository's check when creating/deleting branches via API. Mirror repository and archive repository cannot do that.
This commit is contained in:
1 parent
e5b684e567
commit
13ffa287b1
26 files changed
+268
-4
No files matched your search
Generated
+3
@@ -3478,6 +3478,9 @@
|
||||
"201": {
|
||||
"$ref": "#/responses/Branch"
|
||||
},
|
||||
"403": {
|
||||
"description": "The branch is archived or a mirror."
|
||||
},
|
||||
"404": {
|
||||
"description": "The old branch does not exist."
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user