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:
Diffstat (limited to 'LibGit2Sharp/Configuration.cs')
-rw-r--r--LibGit2Sharp/Configuration.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/LibGit2Sharp/Configuration.cs b/LibGit2Sharp/Configuration.cs
index 078ad14f..47b14fb3 100644
--- a/LibGit2Sharp/Configuration.cs
+++ b/LibGit2Sharp/Configuration.cs
@@ -151,6 +151,16 @@ namespace LibGit2Sharp
}
}
+ internal void UnsetMultivar(string key, ConfigurationLevel level)
+ {
+ Ensure.ArgumentNotNullOrEmptyString(key, "key");
+
+ using (ConfigurationSafeHandle h = RetrieveConfigurationHandle(level, true, configHandle))
+ {
+ Proxy.git_config_delete_multivar(h, key);
+ }
+ }
+
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>