Skip to content

Injection of the git.CommandFactory abstraction into the dependent services

Pavlo Strokov requested to merge ps-git-cmd-factory-injection into master

As we need to get rid of config.Config usage we introduced git.CommandFactory abstraction that know how to create git commands and doesn't depend on the global var.
This change replaces usages of the git.NewCommandXXX in a couple of packages. The other packages would be covered in a follow up MRs.

Part of: #2699 (closed)

Merge request reports

Loading