Skip to content

Commit a82d2fe

Browse files
committed
Match code comment to new endpoint implementation
1 parent 16b1050 commit a82d2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/branch.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func ListBranches(ctx *context.APIContext) {
396396
ctx.JSON(http.StatusOK, apiBranches)
397397
}
398398

399-
// UpdateBranch renames a repository's branch.
399+
// UpdateBranch updates a repository's branch.
400400
func UpdateBranch(ctx *context.APIContext) {
401401
// swagger:operation PATCH /repos/{owner}/{repo}/branches/{branch} repository repoUpdateBranch
402402
// ---

0 commit comments

Comments
 (0)