Skip to content

Move GitOperationService to Gitlab::Git

Jacob Vosmaer (GitLab) requested to merge move-git-operation-service into master

What does this MR do?

Moves GitOperationService from app/services to lib/gitlab/git.

  • rename app/services/git_operation_service.rb to lib/gitlab/git/operation_service.rb
  • rename the class in the file from GitOperationService to Gitlab::Git::OperationService
  • move the CommitError constant from app/models/repository.rb to lib/gitlab/git.rb

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

All code that touches Git repositories is being moved into lib/gitlab/git.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Jacob Vosmaer (GitLab)

Merge request reports

Loading