Skip to content

Commit b388d01

Browse files
committed
Match code comment to new endpoint implementation
1 parent 577b3dd commit b388d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/branch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func ListBranches(ctx *context.APIContext) {
386386
ctx.JSON(http.StatusOK, apiBranches)
387387
}
388388

389-
// UpdateBranch renames a repository's branch.
389+
// UpdateBranch updates a repository's branch.
390390
func UpdateBranch(ctx *context.APIContext) {
391391
// swagger:operation PATCH /repos/{owner}/{repo}/branches/{branch} repository repoUpdateBranch
392392
// ---

0 commit comments

Comments
 (0)