Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-05-25 16:19:47 +0400
committernulltoken <emeric.fermas@gmail.com>2012-05-26 15:12:28 +0400
commitf24fbe67a0c5483af2f72000630df61294f672c9 (patch)
treeb8064103a4462485c1714cc33a9de892271210e4 /LibGit2Sharp/RepositoryOptions.cs
parent0690be7eca2fa56231ee6a250bc13c76ebcc7e94 (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.cs18
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; }
}
}