pub fn diff_names(
root: impl AsRef<Path>,
from: &str,
to: &str,
) -> Result<Vec<String>>Expand description
Paths that differ between two commits (git diff --name-only).
When HEAD has moved since indexing, these are the tracked paths whose content may differ from what was indexed; each is then confirmed by fingerprint, so a commit of already-indexed content does not make the index stale.