public GitRepository(TextWriter stdout, string gitDir, IContainer container, Globals globals, RemoteConfigConverter remoteConfigReader) : base(stdout, container) { _container = container; _globals = globals; GitDir = gitDir; _repository = new LibGit2Sharp.Repository(GitDir); _remoteConfigReader = remoteConfigReader; }
public GitRepository(string gitDir, IContainer container, Globals globals, RemoteConfigConverter remoteConfigReader) : base(container) { _container = container; _globals = globals; GitDir = gitDir; _repository = new Repository(GitDir); _remoteConfigReader = remoteConfigReader; }