diff accepts snapshot selectors on both sides. You can also use . as a working-folder target.
Summary semantics are consistent: RightOnly means only in the right side, LeftOnly means only in the left side, and Changed means content differs on both sides.
Usage
rinne diff <left> <right> [--l-space <space>] [--r-space <space>] [--json] [--no-list] [--limit <N>] [--prefix <path>]
rinne diff <space> <left> <right> [--json] [--no-list] [--limit <N>] [--prefix <path>]
Options
--l-space <space>
Resolve <left> in the specified space. Applies to snapshot selectors only.
--r-space <space>
Resolve <right> in the specified space. Applies to snapshot selectors only.
--json
Output JSON to stdout.
--no-list
Output summary only.
--limit <N>
Maximum number of listed changes. Default is 200. Use -1 for unlimited.
--prefix <path>
Only diff paths under the specified prefix, for example src/ or Assets/.
Examples
Compare the latest two snapshots in the current space
rinne diff '@1' '@0' Compare a snapshot with the working folder
rinne diff '@0' . Compare two snapshots in a specific space
rinne diff main '@1' '@0' Compare snapshots from different spaces
rinne diff '@0' '@0' --l-space main --r-space experiment Restrict the diff to one subtree
rinne diff '@1' '@0' --prefix Assets/ Get summary only as JSON
rinne diff '@1' '@0' --json --no-list
Notes
- Working folder is accepted only as ., ./, or .\.
- Do not combine positional <space> with --l-space or --r-space.
- When either side is the working folder, specifying a space for that side is an error.
- Progress is written to stderr.