docs/cli/bootstrap/dotfiles/history/diff.md
mise bootstrap dotfiles history diffmise bootstrap dotfiles history diff [FLAGS] [A] [B]src/cli/dotfiles/history/diff.rsCompare checkpoints, or the working tree against one
Without arguments, shows what changed by hand since the latest checkpoint. With one reference, shows what that checkpoint changed against the one before it. With two, compares the two states.
[A] — Numeric checkpoint ID, latest, latest~N, or commit:<sha>[B] — Compare A with this checkpoint instead of its predecessor--operation — Compare an operation with its recorded protective checkpoint
With no reference, use the newest operation, ignoring later saves. With one reference, use that operation. Fails if its before checkpoint is unavailable instead of comparing an unrelated preceding save.
-p --patch — Print the full patch instead of a per-file summary
--path <PATH> — Restrict to one path (a file or a directory)
--exit-code — Exit 1 when the two sides differ
-h --help — Print help