awarer

awa diff

awa v0.3.1 · slug command-diff

On this page

show a diff between two states.

awa diff [range] [-- path...] [--context <n>] [--stat] [--no-renames]

Tokens after --

Tokens after -- are path filters. They are resolved relative to your current directory and normalized to the project root, and they narrow the output only — they never create a partial state.

Global options

  • --root <path> — project root override
  • --config <path> — config file override
  • --json — emit schema-versioned JSON
  • --trust-mode <mode> / --strict — cache trust level (normal|strict|fast)

Supports --json (schema-versioned output).

Flags

  • --context <n> — lines of context around each change (default: [checkpoint].diff_context)
  • --stat — one-line change-count summary (human only)
  • --no-renames — disable rename detection
  • --algorithm <name> — select the diff engine (histogram|myers) (default: [diff].algorithm)

Workflow

See awa help diff.