Skip to content

Accept force option on commit via API

Patrick Bajao requested to merge 45035-force-push-api into master

What does this MR do?

This MR adds a force option to Commits API when creating a commit. When set to true, the branch won't be validated if it already exists and will proceed to making a request to commit file/s to Gitaly.

gitaly-proto MR: gitaly-proto!263 (merged)

gitaly MR: gitaly!1077 (merged)

TODOs

  • Update gitaly-proto gem when the version this MR requires gets released
  • Update GITALY_SERVER_VERSION when the version this MR requires gets released

What are the relevant issue numbers?

#45035 (closed)

Does this MR meet the acceptance criteria?

Closes #45035 (closed)

Edited by Nick Thomas

Merge request reports