Skip to main content

changed_lines

Function changed_lines 

Source
pub fn changed_lines(
    repo: &Path,
    base: &str,
) -> Result<BTreeMap<String, BTreeSet<u64>>>
Expand description

The new-side lines each file gained in repo’s <base>...HEAD merge-base diff, keyed by repo-relative path. Pinned against the caller’s git config — core.quotepath=off, --no-ext-diff, forced a//b/ prefixes — so [new_side_path]’s b/ strip holds.