Skip to main content

list_local_commit_titles

Function list_local_commit_titles 

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

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

The returned order is oldest to newest to match push 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.