Skip to content

Usage of the git.CommandFactory in objectpool package

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

To break dependency on the gloabl config.Config variable we introduced git.CommandFactory abstraction that hides all the dependencies internally and can be mocked if needed. This gives us more flexibility in testing and makes the code less buggy by removing dependency on the global state.

Part of: #2699 (closed)

Merge request reports

Loading