Skip to main content

resolve_default_base

Function resolve_default_base 

Source
pub fn resolve_default_base(root: &Path) -> Result<DefaultBase, GitToolError>
Expand description

Resolves the no-flag default base: merge base of HEAD with the fixed v0 branch main.

ยงErrors

Returns GitToolError when the Git executable cannot be started.