Skip to main content

classify

Function classify 

Source
pub async fn classify(
    repo: &Path,
    remote: &str,
    branch: &str,
    local: &str,
    origin: &str,
    base: &str,
) -> Result<Divergence>
Expand description

Classify a divergence between local and origin (both shas).

base is the base branch’s tip: commits reachable from it are what a rebase pulled in, not local work.