public GitRepository(string gitDir, IContainer container, Globals globals, RemoteConfigConverter remoteConfigReader) : base(container) { _container = container; _globals = globals; GitDir = gitDir; _repository = new 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; var value = GetConfig <string>(GitTfsConstants.DisableGitignoreSupport, bool.TrueString); bool disableGitignoreSupport; if (value != null && bool.TryParse(value, out disableGitignoreSupport)) { _disableGitignoreSupport = disableGitignoreSupport; } }