diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-06-26 17:05:51 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-06-28 22:16:57 +0400 |
commit | 7d9baab78e850ada6e88ef09c5b795793e7bd7b6 (patch) | |
tree | 1848b5fb747258fb9835966c338bf536ddf0829e /LibGit2Sharp/IQueryableCommitLog.cs | |
parent | 8dfa16f0ca2cbeba241a0373915f8314348b8a9b (diff) |
Rename Filter into CommitFilter
Diffstat (limited to 'LibGit2Sharp/IQueryableCommitLog.cs')
-rw-r--r-- | LibGit2Sharp/IQueryableCommitLog.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/LibGit2Sharp/IQueryableCommitLog.cs b/LibGit2Sharp/IQueryableCommitLog.cs index 292a0c3f..36b6d671 100644 --- a/LibGit2Sharp/IQueryableCommitLog.cs +++ b/LibGit2Sharp/IQueryableCommitLog.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace LibGit2Sharp { @@ -12,9 +13,17 @@ namespace LibGit2Sharp /// </summary> /// <param name = "filter">The options used to control which commits will be returned.</param> /// <returns>A list of commits, ready to be enumerated.</returns> + [Obsolete("This method will be removed in the next release. Please use QueryBy(CommitFilter) instead.")] ICommitLog QueryBy(Filter filter); /// <summary> + /// Returns the list of commits of the repository matching the specified <paramref name = "filter" />. + /// </summary> + /// <param name = "filter">The options used to control which commits will be returned.</param> + /// <returns>A list of commits, ready to be enumerated.</returns> + ICommitLog QueryBy(CommitFilter filter); + + /// <summary> /// Find the best possible common ancestor given two <see cref = "Commit"/>s. /// </summary> /// <param name = "first">The first <see cref = "Commit"/>.</param> |