using System.Collections.Generic;
namespace LibGit2Sharp
{
///
/// A log of commits in a that can be filtered with queries.
///
public interface IQueryableCommitLog : ICommitLog
{
///
/// Returns the list of commits of the repository matching the specified .
///
/// The options used to control which commits will be returned.
/// A list of commits, ready to be enumerated.
ICommitLog QueryBy(Filter filter);
///
/// Find the best possible common ancestor given two s.
///
/// The first .
/// The second .
/// The common ancestor or null if none found.
Commit FindCommonAncestor(Commit first, Commit second);
///
/// Find the best possible common ancestor given two or more s.
///
/// The for which to find the common ancestor.
/// The common ancestor or null if none found.
Commit FindCommonAncestor(IEnumerable commits);
}
}