diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-01-07 22:45:38 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-01-07 22:59:23 +0400 |
commit | 4d7c2ad597e3283830ec4a65b2f711eea3d9ef1f (patch) | |
tree | 97aaf9d3d0cc002d4fb70e5cd601613bf0788b09 /LibGit2Sharp/RepositoryStatus.cs | |
parent | fef50c171f557ef88bec8fd9bd1cf05d8fe5b5aa (diff) |
Rename Enum.Has<T> to Compat.Enum.HasFlag<T>
Diffstat (limited to 'LibGit2Sharp/RepositoryStatus.cs')
-rw-r--r-- | LibGit2Sharp/RepositoryStatus.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LibGit2Sharp/RepositoryStatus.cs b/LibGit2Sharp/RepositoryStatus.cs index f97c16fa..63172e8c 100644 --- a/LibGit2Sharp/RepositoryStatus.cs +++ b/LibGit2Sharp/RepositoryStatus.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using LibGit2Sharp.Core; +using LibGit2Sharp.Core.Compat; namespace LibGit2Sharp { @@ -58,7 +59,7 @@ namespace LibGit2Sharp foreach (KeyValuePair<FileStatus, Action<RepositoryStatus, string>> kvp in dispatcher) { - if (!gitStatus.Has(kvp.Key)) + if (!gitStatus.HasFlag(kvp.Key)) { continue; } |