-
- Downloads
Refactor Gitlab::Git code related to LFS changes for Gitaly migration
We stop relying on Gitlab::Git::Env for the RevList class, and use Gitlab::Git::Repository#run_git methods inteaad. The refactor also fixes another issue, since we now top using "path_to_repo" (which is a Repository model method).
Showing
- lib/gitlab/checks/force_push.rb 2 additions, 2 deletionslib/gitlab/checks/force_push.rb
- lib/gitlab/git/lfs_changes.rb 1 addition, 2 deletionslib/gitlab/git/lfs_changes.rb
- lib/gitlab/git/popen.rb 1 addition, 1 deletionlib/gitlab/git/popen.rb
- lib/gitlab/git/repository.rb 28 additions, 4 deletionslib/gitlab/git/repository.rb
- lib/gitlab/git/rev_list.rb 18 additions, 45 deletionslib/gitlab/git/rev_list.rb
- spec/lib/gitlab/checks/force_push_spec.rb 6 additions, 4 deletionsspec/lib/gitlab/checks/force_push_spec.rb
- spec/lib/gitlab/git/rev_list_spec.rb 24 additions, 33 deletionsspec/lib/gitlab/git/rev_list_spec.rb
- spec/services/merge_requests/rebase_service_spec.rb 1 addition, 1 deletionspec/services/merge_requests/rebase_service_spec.rb
Please register or sign in to comment