-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add Code Review diff option for unstaged changes only #9673
Copy link
Copy link
Open
Labels
area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.Git diff views, review UI, review comments, and PR-focused agent flows.enhancementNew feature or request.New feature or request.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:code-reviewGit diff views, review UI, review comments, and PR-focused agent flows.Git diff views, review UI, review comments, and PR-focused agent flows.enhancementNew feature or request.New feature or request.in-app-feedbackFeedback items sourced from in-app feedback flows.Feedback items sourced from in-app feedback flows.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
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
git diff, excluding staged changes that would appear ingit diff --staged.Artifacts
Warp version
Unknown.
Operating system
Unknown.
Possible source references