Diff viewer
Review file changes as a unified diff, accept or reject individual chunks, and track what you've reviewed.
When you want to see exactly what changed in a file, open it in diff mode. hob shows a unified (inline) diff with changes highlighted, lets you accept or reject individual chunks, and remembers what you've already reviewed.
Opening a diff
From the Changes panel
Open Changes (Source Control) with Cmd/Ctrl+Shift+D and click any modified file — it
opens as a diff against git HEAD. This is the fastest path.
Or switch any render pane to diff
Every render pane header has preview / source / diff pill buttons. Click diff to
compare the working copy against the file at git HEAD.
Once a pane is in diff mode it live-updates as the agent (or you) edits the file. A meaningful diff needs the project to be a git repository — outside one, everything reads as added.
Reviewing changes
Each change is a chunk — a group of related additions and deletions. Deleted lines are shown inline with a red highlight; added lines are highlighted in place.
The pane footer shows a review counter like 3/5 (chunks resolved / total); hover it for
"3 of 5 changes reviewed". It turns green when every chunk is resolved. Use the up/down
chevrons in the diff header to jump between changes.
hob remembers your progress: a file you fully reviewed shows Reviewed _N_m ago, and if it changes afterward, Stale review.
Accepting and rejecting
Hover over (or near) a chunk to reveal its Accept and Reject controls:
- Accept — marks the chunk reviewed and keeps it as the agent wrote it (no disk write).
- Reject — reverts the chunk to the
HEADcontent and writes the file back to disk immediately.
This lets you cherry-pick the good parts of an agent's output and revert the rest, chunk by chunk.
Rejecting writes to disk right away. You can hide the Accept/Reject buttons with the A/R
toggle in the pane footer, or globally with Diff merge controls in Settings (on by
default, overridable per pane).
Search
Press Cmd/Ctrl+F to search within the diff.