Replacement of the git.NewXXX in repository package
Replacement of the git.NewCommandWithoutRepo with the git.CommandFactory.NewWithoutRepo call and git.NewCommand with git.CommandFactory.New. The functions were migrated to methods in order to get access to the git.CommandFactory without need to add it as an additional parameter.
Part of: #2699 (closed)
Edited by Pavlo Strokov