Diff viewer

Orca's diff viewer is designed for serious review of AI-generated code — not a quick glance. Every worktree has a built-in diff against its start-from ref.

Features

  • Combined diff across all staged, unstaged, and untracked files.
  • Line numbers for both sides, toggleable.
  • Image diffs — side-by-side, swipe, and onion-skin modes for binary images.
  • Merge-conflict UI with three-way view and inline resolution.
  • Staging by hunk or line — same as git add -p but visual.

Scoping

The diff shows changes against the worktree's start-from ref by default. You can switch to comparing against any commit, branch, or the base ref from the diff toolbar.

Word wrap

Long lines wrap in place when diff word wrap is on, so wide diffs read top-to-bottom without horizontal scrolling. It's off by default. Toggle Word Wrap from the actions menu in the diff editor header, or set the global default under Settings → General → Diff Word Wrap. Both controls share the same setting — toggling from the editor flips it everywhere.

Keyboard shortcuts

  • j / k — next / previous changed file.
  • n / p — next / previous hunk.
  • s — stage the hunk under the cursor.
  • c — start a comment (Annotate AI Diff).