Set the user who applies suggestion as the commit author
Before: For a single suggestion: - The author of the suggestion note is set as the author - The user who applies the suggestion is the committer For batch suggestions: - The user who applies the suggestion is the author and committer Now: For signle and batch suggestions: - The user who applies the suggestion is the author and committer In a separate commit/MR an option to provide co-authors will be introduced. When commit signing is enabled, the committer will be GitLab
显示
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.checksum 1 个添加, 1 个删除Gemfile.checksum
- Gemfile.lock 2 个添加, 2 个删除Gemfile.lock
- app/models/commit.rb 2 个添加, 0 个删除app/models/commit.rb
- app/models/commit_collection.rb 16 个添加, 2 个删除app/models/commit_collection.rb
- app/models/repository.rb 4 个添加, 1 个删除app/models/repository.rb
- app/services/commits/change_service.rb 9 个添加, 16 个删除app/services/commits/change_service.rb
- app/services/commits/cherry_pick_service.rb 30 个添加, 2 个删除app/services/commits/cherry_pick_service.rb
- app/services/commits/revert_service.rb 11 个添加, 1 个删除app/services/commits/revert_service.rb
- app/services/suggestions/apply_service.rb 7 个添加, 0 个删除app/services/suggestions/apply_service.rb
- config/feature_flags/gitlab_com_derisk/web_ui_commit_author_change.yml 9 个添加, 0 个删除...e_flags/gitlab_com_derisk/web_ui_commit_author_change.yml
- ee/spec/requests/api/commits_spec.rb 4 个添加, 2 个删除ee/spec/requests/api/commits_spec.rb
- lib/gitlab/git/repository.rb 2 个添加, 12 个删除lib/gitlab/git/repository.rb
- lib/gitlab/gitaly_client/operation_service.rb 48 个添加, 42 个删除lib/gitlab/gitaly_client/operation_service.rb
- lib/gitlab/suggestions/commit_message.rb 1 个添加, 1 个删除lib/gitlab/suggestions/commit_message.rb
- spec/lib/gitlab/gitaly_client/operation_service_spec.rb 11 个添加, 2 个删除spec/lib/gitlab/gitaly_client/operation_service_spec.rb
- spec/models/commit_collection_spec.rb 27 个添加, 0 个删除spec/models/commit_collection_spec.rb
- spec/requests/api/commits_spec.rb 4 个添加, 2 个删除spec/requests/api/commits_spec.rb
- spec/services/commits/change_service_spec.rb 18 个添加, 0 个删除spec/services/commits/change_service_spec.rb
- spec/services/commits/cherry_pick_service_spec.rb 29 个添加, 1 个删除spec/services/commits/cherry_pick_service_spec.rb
加载中
想要评论请 注册 或 登录