private bool IncludeInFetch(NamedChange change) { if (IgnorableChangeType(change.Change.ChangeType) && _resolver.Contains(change.GitPath)) { return(false); } return(_resolver.ShouldIncludeGitItem(change.GitPath)); }
private bool IncludeInFetch(NamedChange change) { // If a change is only a branch or merge operation and we already have a file at the target path, // then there is nothing to do for that change. if ((change.Change.ChangeType == TfsChangeType.Branch || change.Change.ChangeType == TfsChangeType.Merge) && _resolver.Contains(change.GitPath)) { return(false); } return(_resolver.ShouldIncludeGitItem(change.GitPath)); }
private bool Include(string pathInGitRepo) { return(_resolver.ShouldIncludeGitItem(pathInGitRepo)); }