pub fn changes_since(
store: &Store,
mem_name: &str,
git_dir: &Path,
since: &str,
rename_similarity: f32,
head_ref: Option<&str>,
) -> Result<ChangesReport, VcsError>Expand description
Compute ChangesReport for mem_name, whose gix repository lives
at git_dir. since is any gix-resolvable commit spec (commit SHA,
ref name, HEAD~1, …) plus the empty-tree sentinel.
Error policy:
- Unknown
sinceref →VcsError::ObjectNotFound. - Empty repository (no HEAD) + non-sentinel
since→ same. - Empty repository + sentinel
since→ empty report (headechoes the sentinel). Matches the “nothing committed yet, nothing to diff” contract so fresh clients don’t crash on a brand-new mem.