Skip to content

af interdiff

Compare the edits of two commits

Lists the paths where the edits of –from, rebased onto the parents of –to, differ from the edits of –to. Use it to see what changed between two versions of a change.

Usage

af interdiff [OPTIONS] [PATHS]...

Arguments

  • [PATHS]...

    Glob patterns, from the repository root, limiting the paths shown

    For example, docs/** matches everything under docs, while docs matches only a file named docs.

Options

  • --from <FROM>

    Revset selecting the commit to compare from; defaults to the workspace’s change

  • --to <TO>

    Revset selecting the commit to compare to; defaults to the workspace’s change

Global options

Every af command also takes the global options.

Examples

af interdiff
af interdiff src/parser.rs

Type to search…

↑↓ navigate↵ selectEsc close