public TestGitRepository AddRepository(string repoPath, IDictionary <string, string> config = null) { var repoConfig = new TestGitConfiguration(repoPath, config); var repo = new TestGitRepository(repoPath, repoConfig); Repositories.Add(repoPath, repo); return(repo); }
public TestGitRepository AddRepository(TestGitRepository repo) { Repositories.Add(repo.Path, repo); return(repo); }