private ChangeSetHistory GetRawHistory(string repoName) { using (var cache = new Cache()) { var provider = new GitProvider(); provider.Initialize(RepoBuilder.GetRepoPath(repoName), cache.ToString(), null); var(history, graph) = provider.GetRawHistory(null); return(history); } }
private ChangeSetHistory GetCleanHistory(string repoName) { using (var cache = new Cache()) { var provider = new GitProvider(); provider.Initialize(RepoBuilder.GetRepoPath(repoName), cache.ToString(), null); provider.UpdateCache(null, false, null); return(provider.QueryChangeSetHistory()); } }