Skip to main content

against_diff

Function against_diff 

Source
pub fn against_diff(vcs: &dyn Vcs, rev: &str) -> Result<DiffModel, VcsError>
Expand description

Three-dot diff of rev against the working tree: merge-base(rev, HEAD) vs index + worktree + untracked. Commits rev gained since the branch forked stay out of it; uncommitted work stays in.