Skip to main content

local_base_tracks_upstream

Function local_base_tracks_upstream 

Source
async fn local_base_tracks_upstream(
    cwd: &Path,
    base: &str,
    deadline: Option<Instant>,
) -> Option<bool>
Expand description

Whether the local base itself tracks a remote (main@{upstream}): a base that does can be behind that remote exactly as an origin/... can, and nothing was fetched for it here. None when git could not answer, which the caller treats as unverified rather than as “nothing to lag behind”.