Skip to main content

list_upstream_commit_titles

Function list_upstream_commit_titles 

Source
pub async fn list_upstream_commit_titles(
    repo_path: PathBuf,
) -> Result<Vec<String>, GitError>
Expand description

Re-exported commit/sync/diff APIs. Returns upstream commit subjects that are not yet in local HEAD.

The returned order is oldest to newest to match pull application order.

§Arguments

  • repo_path - Path to the git repository root

§Errors

Returns a GitError when git log fails or upstream tracking refs are unavailable.