diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-05-01 15:45:46 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-03 22:06:36 +0400 |
commit | fa1f2667da6c102fead78f44d39441e4734a159f (patch) | |
tree | e0161a5c6acbc8912f02d6c94becad46acd11771 /LibGit2Sharp/ObjectType.cs | |
parent | d6c74d2f7438597efaffd43320422f3d1ac509de (diff) |
Obsolete GitObjectType
Diffstat (limited to 'LibGit2Sharp/ObjectType.cs')
-rw-r--r-- | LibGit2Sharp/ObjectType.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LibGit2Sharp/ObjectType.cs b/LibGit2Sharp/ObjectType.cs index efe4e251..c23a6046 100644 --- a/LibGit2Sharp/ObjectType.cs +++ b/LibGit2Sharp/ObjectType.cs @@ -30,21 +30,21 @@ namespace LibGit2Sharp internal static class ObjectTypeExtensions { - public static GitObjectType ToGitObjectType(this ObjectType type) + public static Core.GitObjectType ToGitObjectType(this ObjectType type) { switch (type) { case ObjectType.Commit: - return GitObjectType.Commit; + return Core.GitObjectType.Commit; case ObjectType.Tree: - return GitObjectType.Tree; + return Core.GitObjectType.Tree; case ObjectType.Blob: - return GitObjectType.Blob; + return Core.GitObjectType.Blob; case ObjectType.Tag: - return GitObjectType.Tag; + return Core.GitObjectType.Tag; default: throw new InvalidOperationException(string.Format("Cannot map {0} to a GitObjectType.", type)); |