Skip to main content

has_commits_since

Function has_commits_since 

Source
pub async fn has_commits_since(
    repo_path: PathBuf,
    base_branch: String,
) -> Result<bool, GitError>
Expand description

Re-exported commit/sync/diff APIs. Returns whether HEAD contains commits that are not reachable from base_branch.

ยงErrors

Returns a GitError if commit ancestry cannot be queried.