public FileTreeIterator(Repository repo) {this(repo,repo.getConfig().get(WorkingTreeOptions.KEY).isDirNoGitLinks() ?NoGitlinksStrategy.INSTANCE :DefaultFileModeStrategy.INSTANCE);}
public FileTreeIterator(Repository repo) : this(repo.WorkTree, repo.FileSystem, repo.GetConfig().Get(WorkingTreeOptions.KEY)){InitRootIterator(repo);}