Accept force option on commit via API
When `force` is set to `true` and `start_branch` is set, the branch will be ovewritten with the new commit based on the `HEAD` of the `start_branch`. This commit includes changes to update the `gitaly-proto` gem.
显示
- GITALY_SERVER_VERSION 1 个添加, 1 个删除GITALY_SERVER_VERSION
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 3 个添加, 3 个删除Gemfile.lock
- app/services/commits/create_service.rb 7 个添加, 2 个删除app/services/commits/create_service.rb
- app/services/files/multi_service.rb 2 个添加, 1 个删除app/services/files/multi_service.rb
- app/services/validate_new_branch_service.rb 2 个添加, 2 个删除app/services/validate_new_branch_service.rb
- changelogs/unreleased/45035-force-push-api.yml 5 个添加, 0 个删除changelogs/unreleased/45035-force-push-api.yml
- doc/api/commits.md 1 个添加, 0 个删除doc/api/commits.md
- lib/api/commits.rb 1 个添加, 0 个删除lib/api/commits.rb
- lib/gitlab/git/repository.rb 5 个添加, 2 个删除lib/gitlab/git/repository.rb
- lib/gitlab/gitaly_client/operation_service.rb 9 个添加, 5 个删除lib/gitlab/gitaly_client/operation_service.rb
- spec/services/files/multi_service_spec.rb 16 个添加, 0 个删除spec/services/files/multi_service_spec.rb
加载中
想要评论请 注册 或 登录