Removes N+1 gitaly rpc call to fetch the last commit for path
Implements list_last_commits_for_tree to communicate with the ListLastCommitsForTree Gitaly RPC Bumps the Gitaly server version Bumps the Gitaly-Proto gem version
显示
- GITALY_SERVER_VERSION 1 个添加, 1 个删除GITALY_SERVER_VERSION
- Gemfile 1 个添加, 1 个删除Gemfile
- Gemfile.lock 2 个添加, 2 个删除Gemfile.lock
- Gemfile.rails5.lock 2 个添加, 2 个删除Gemfile.rails5.lock
- app/models/repository.rb 8 个添加, 0 个删除app/models/repository.rb
- changelogs/unreleased/37433-solve-n-1-in-refs-controller-logs-tree.yml 6 个添加, 0 个删除...released/37433-solve-n-1-in-refs-controller-logs-tree.yml
- lib/gitlab/git/repository.rb 6 个添加, 0 个删除lib/gitlab/git/repository.rb
- lib/gitlab/gitaly_client/commit_service.rb 18 个添加, 0 个删除lib/gitlab/gitaly_client/commit_service.rb
- lib/gitlab/tree_summary.rb 16 个添加, 12 个删除lib/gitlab/tree_summary.rb
- spec/models/repository_spec.rb 51 个添加, 0 个删除spec/models/repository_spec.rb
加载中
想要评论请 注册 或 登录