Skip to content

git_ui: Add "Review Branch" with agent feature#49513

Merged
danilo-leal merged 8 commits intomainfrom
review-branch-diff
Feb 18, 2026
Merged

git_ui: Add "Review Branch" with agent feature#49513
danilo-leal merged 8 commits intomainfrom
review-branch-diff

Conversation

@danilo-leal
Copy link
Member

@danilo-leal danilo-leal commented Feb 18, 2026

This PR adds a button in the git: branch diff view that allows to quickly and easily send the entire diff to your last used agent for a review. What this does is automatically submits a (pre-written and generic) prompt to the last agents you were using in the agent panel with the whole content of your diff.

Screenshot 2026-02-18 at 3  35@2x

Release Notes:

  • Added a "Review Branch" button in the git: branch diff view so that the whole diff can be quickly sent for review to an agent.

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
@danilo-leal danilo-leal requested review from a team as code owners February 18, 2026 18:27
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 18, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 18, 2026
@bennetbo bennetbo self-assigned this Feb 18, 2026
@danilo-leal danilo-leal requested a review from a team as a code owner February 18, 2026 18:59
@danilo-leal danilo-leal merged commit 423a8c4 into main Feb 18, 2026
27 checks passed
@danilo-leal danilo-leal deleted the review-branch-diff branch February 18, 2026 22:18
@tuzemec
Copy link

tuzemec commented Feb 25, 2026

This is awesome! I apologize for the unrelated comment, but what is the theme in the screenshot, @danilo-leal?

@danilo-leal
Copy link
Member Author

@tuzemec That is Zed's default theme, One Dark :)

@cw789
Copy link

cw789 commented Mar 5, 2026

Great feature. Thanks.

a (pre-written and generic) prompt

Would be cool to have a built-in Rule for it like we have for "Commit message", so we are able to customize the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants