Skip to content

Commit

Permalink
Merge pull request #1174 from libgit2/gh1069-fixup
Browse files Browse the repository at this point in the history
Remove usages of obsolete Since and Until
  • Loading branch information
nulltoken committed Aug 17, 2015
2 parents 839c6b6 + a2f16e8 commit d114368
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions LibGit2Sharp/CommitFilter.cs
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
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 comments on commit d114368

Please sign in to comment.