Review code changes
Review shows the Git diff of changes in your repository, including the ones the agent made. Use it to check work before you commit, and to leave comments on exact lines that the agent can act on.
How it surfaces
Review is a contextual panel in the side panel. It appears when your chat's working folder is a Git repository, even if the chat isn't in a project. If the folder isn't a Git repository, the panel doesn't appear.
To open it, use one of these:
- Select New tab in the side panel, then select Review.
- Select the Changes card under In this session in the side panel's New tab.
- Select the line that shows the file count and added and deleted lines under an agent response. Review opens to the edits from that turn. To return to the current edits, select Show latest.
How to use it
Choose what to inspect from the scope menu:
- Last edits — the agent's most recent edits made with its file-editing tools. Changes from shell commands or other apps appear under Uncommitted instead.
- Uncommitted — working-tree changes relative to HEAD, filtered by All, Staged, or Unstaged
- Branch — committed changes between the branch's merge base and HEAD
- Commits — changes introduced by a selected commit
- Pull request — the combined diff of the branch's GitHub pull request, when it has one
The toolbar has Show files to browse or filter changed files, Collapse all files to fold every file, and a button to switch between unified and split diffs. Open More actions to search with Find in review, turn on Wrap lines, or Refresh. You can also collapse each file once you've finished checking it.
Review updates as the agent works and whenever the repository's Git state changes. Before committing, switch to Uncommitted → All to catch changes the agent made with shell commands or that happened outside Glean Tau.
To leave a comment, hover a line and select + in the gutter. To comment on several lines, drag the + control across the range. Comments are local notes that Glean Tau sends with your next prompt. For full detail, see Add and manage comments.
To ask about specific lines instead of commenting on them, highlight text in the diff and select the Add to chat button beside your selection, or press Cmd+L. Glean Tau attaches the file and the lines you chose, so you can ask a question about a diff without describing where to look. Right-click the selection for the same Add to Chat action plus Copy.
See also
- Pull requests — GitHub pull request management
- Extensions — the full list of extensions and their default states