Skip to content

Add Code Review diff option for unstaged changes only #9673

@bholmesdev

Description

@bholmesdev

Summary

Add a Code Review panel diff source that shows only unstaged Git changes.

Problem

The Code Review panel currently lets users review all uncommitted changes or compare the current branch against another branch. When a repository has both staged and unstaged changes, there is no apparent way to narrow the Code Review panel to only the changes that have not been added to the Git index yet.

This makes it harder to review the remaining working-tree changes separately from work that has already been staged for commit.

Reproduction steps or desired workflow

  1. Open Warp in a Git repository with both staged and unstaged changes.
  2. Open the Code Review panel.
  3. Use the diff source dropdown that currently supports uncommitted changes and branch comparisons.
  4. Select a new option such as "Unstaged changes".
  5. Review only changes that would appear in git diff, excluding staged changes that would appear in git diff --staged.

Artifacts

Image

Warp version

Unknown.

Operating system

Unknown.

Possible source references

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.enhancementNew feature or request.in-app-feedbackFeedback items sourced from in-app feedback flows.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions