mirror of
https://github.com/go-gitea/gitea
synced 2025-09-10 10:48:28 +00:00
Rename UpdateBranch API to RenameBranch API (#35374)
Discussed in #35368, originally implemented in #32433
This commit is contained in:
@@ -282,9 +282,9 @@ type CreateBranchRepoOption struct {
|
||||
OldRefName string `json:"old_ref_name" binding:"GitRefName;MaxSize(100)"`
|
||||
}
|
||||
|
||||
// UpdateBranchRepoOption options when updating a branch in a repository
|
||||
// RenameBranchRepoOption options when renaming a branch in a repository
|
||||
// swagger:model
|
||||
type UpdateBranchRepoOption struct {
|
||||
type RenameBranchRepoOption struct {
|
||||
// New branch name
|
||||
//
|
||||
// required: true
|
||||
|
Reference in New Issue
Block a user