diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-05-25 16:19:47 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-05-26 15:12:28 +0400 |
commit | f24fbe67a0c5483af2f72000630df61294f672c9 (patch) | |
tree | b8064103a4462485c1714cc33a9de892271210e4 /LibGit2Sharp/RepositoryOptions.cs | |
parent | 0690be7eca2fa56231ee6a250bc13c76ebcc7e94 (diff) |
Extend RepositoryOptions to accept path to alternate System and Global configuration files
Fix #157
Diffstat (limited to 'LibGit2Sharp/RepositoryOptions.cs')
-rw-r--r-- | LibGit2Sharp/RepositoryOptions.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/LibGit2Sharp/RepositoryOptions.cs b/LibGit2Sharp/RepositoryOptions.cs index 507288d6..dfb06e33 100644 --- a/LibGit2Sharp/RepositoryOptions.cs +++ b/LibGit2Sharp/RepositoryOptions.cs @@ -25,5 +25,23 @@ /// </para> /// </summary> public string IndexPath { get; set; } + + /// <summary> + /// Overrides the probed location of the Global configuration file of a repository. + /// <para> + /// The path has either to lead to an existing valid configuration file, + /// or to a non existent configuration file which will be eventually created. + /// </para> + /// </summary> + public string GlobalConfigurationLocation { get; set; } + + /// <summary> + /// Overrides the probed location of the System configuration file of a repository. + /// <para> + /// The path has to lead to an existing valid configuration file, + /// or to a non existent configuration file which will be eventually created. + /// </para> + /// </summary> + public string SystemConfigurationLocation { get; set; } } } |