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/IRepository.cs | |
parent | d6c74d2f7438597efaffd43320422f3d1ac509de (diff) |
Obsolete GitObjectType
Diffstat (limited to 'LibGit2Sharp/IRepository.cs')
-rw-r--r-- | LibGit2Sharp/IRepository.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGit2Sharp/IRepository.cs b/LibGit2Sharp/IRepository.cs index 24f41031..0da38104 100644 --- a/LibGit2Sharp/IRepository.cs +++ b/LibGit2Sharp/IRepository.cs @@ -95,6 +95,7 @@ namespace LibGit2Sharp /// <param name = "id">The id to lookup.</param> /// <param name = "type">The kind of GitObject being looked up</param> /// <returns>The <see cref = "GitObject" /> or null if it was not found.</returns> + [Obsolete("This method will be removed in the next release. Please use another Repository.Lookup() overload instead.")] GitObject Lookup(ObjectId id, GitObjectType type = GitObjectType.Any); /// <summary> @@ -103,6 +104,7 @@ namespace LibGit2Sharp /// <param name = "objectish">A revparse spec for the object to lookup.</param> /// <param name = "type">The kind of <see cref = "GitObject" /> being looked up</param> /// <returns>The <see cref = "GitObject" /> or null if it was not found.</returns> + [Obsolete("This method will be removed in the next release. Please use another Repository.Lookup() overload instead.")] GitObject Lookup(string objectish, GitObjectType type = GitObjectType.Any); /// <summary> |