8000 Make Configuration.HasXXXConfig() obsolete · Saaman/libgit2sharp@b5707fb · GitHub
[go: up one dir, main page]

Skip to content

Commit b5707fb

Browse files
committed
Make Configuration.HasXXXConfig() obsolete
Signed-off-by: Unit Test <yoram.harmelin@gmail.com>
1 parent 28a225f commit b5707fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LibGit2Sharp/Configuration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public Configuration(string globalConfigurationFileLocation = null, string syste
9292
/// <summary>
9393
/// Determines if a Git configuration file specific to the current interactive user has been found.
9494
/// </summary>
95+
[Obsolete("This property will be removed in the next release. Please use HasConfig() instead.")]
9596
public virtual bool HasGlobalConfig
9697
{
9798
get { return HasConfig(ConfigurationLevel.Global); }
@@ -100,6 +101,7 @@ public virtual bool HasGlobalConfig
100101
/// <summary>
101102
/// Determines if a system-wide Git configuration file has been found.
102103
/// </summary>
104+
[Obsolete("This property will be removed in the next release. Please use HasConfig() instead.")]
103105
public virtual bool HasSystemConfig
104106
{
105107
get { return HasConfig(ConfigurationLevel.System); }

0 commit comments

Comments
 (0)
0