Skip to content

DI git.CommandFactory into localrepo.Repo

Pavlo Strokov requested to merge ps-localrepo-di-cmd-factory into master

Current implementation of the localrepo.Repo creates *git.ExecCommandFactory internally and use it for running git commands. This dependency needs to be provided from the outside instead. The git.CommandFactory parameter added to the constructor func and all its usages fixed thor out the code.

Merge request reports

Loading