8000 Remove usages of obsolete Since and Until by dahlbyk · Pull Request #1174 · libgit2/libgit2sharp · GitHub
[go: up one dir, main page]

Skip to content

Remove usages of obsolete Since and Until #1174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LibGit2Sharp/CommitFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public object Since

internal IList<object> SinceList
{
get { return ToList(Since); }
get { return ToList(IncludeReachableFrom); }
}

/// <summary>
Expand Down Expand Up @@ -87,7 +87,7 @@ public object Until

internal IList<object> UntilList
{
get { return ToList(Until); }
get { return ToList(ExcludeReachableFrom); }
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions LibGit2Sharp/CommitLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ IEnumerator IEnumerable.GetEnumerator()
public ICommitLog QueryBy(CommitFilter filter)
{
Ensure.ArgumentNotNull(filter, "filter");
Ensure.ArgumentNotNull(filter.Since, "filter.Since");
Ensure.ArgumentNotNullOrEmptyString(filter.Since.ToString(), "filter.Since");
Ensure.ArgumentNotNull(filter.IncludeReachableFrom, "filter.IncludeReachableFrom");
Ensure.ArgumentNotNullOrEmptyString(filter.IncludeReachableFrom.ToString(), "filter.IncludeReachableFrom");

return new CommitLog(repo, filter);
}
Expand Down
0