IRepositoryStore.

IsCommitOnBranch(ICommit, IBranch, ICommit) Method

Summary

Returns true if baseVersionSource is an ancestor of firstMatchingCommit on branch.
Namespace
GitVersion
Containing Type
IRepositoryStore

Syntax

bool IsCommitOnBranch(ICommit baseVersionSource, IBranch branch, ICommit firstMatchingCommit)

Parameters

Name Type Description
baseVersionSource ICommit
branch IBranch
firstMatchingCommit ICommit

Return Value

Type Description
bool
GitHub