using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace LibGit2Sharp
{
///
/// Criterias used to filter out and order the commits of the repository when querying its history.
///
public sealed class CommitFilter
{
///
/// Initializes a new instance of .
///
public CommitFilter()
{
SortBy = CommitSortStrategies.Time;
Since = "HEAD";
FirstParentOnly = false;
}
///
/// The ordering stragtegy to use.
///
/// By default, the commits are shown in reverse chronological order.
///
///
public CommitSortStrategies SortBy { get; set; }
///
/// A pointer to a commit object or a list of pointers to consider as starting points.
///
/// Can be either a containing the sha or reference canonical name to use,
/// a , a , a , a ,
/// a , an or even a mixed collection of all of the above.
/// By default, the will be used as boundary.
///
///
public object Since { get; set; }
internal IList