Skip to content

On merge branches, classify adds/updates/deletes relative to target of merge#6151

Merged
aryairani merged 5 commits intotrunkfrom
load-merge
Feb 13, 2026
Merged

On merge branches, classify adds/updates/deletes relative to target of merge#6151
aryairani merged 5 commits intotrunkfrom
load-merge

Conversation

@mitchellwrosen
Copy link
Member

Overview

Fixes #6026

This PR changes slurp to render adds/updates/deletes relative to the merge target, when on a merge branch, just like update and upgrade. Previously, everything was classified as an add, which made it more difficult than necessary to tell what's happening in a merge.

Additionally, I found the slurp output of a merge that discards the other party's changes confusing (it just said "No changes"), so I changed the output while on a merge branch to include a reminder that update commits the merge, and cancel cancels it.

Screenshot 2026-01-30 at 3 23 52 PM Screenshot 2026-01-30 at 3 24 06 PM

Test coverage

No new tests, but the existing merge.md transcript demonstrates the changes.

@mitchellwrosen mitchellwrosen marked this pull request as ready for review January 30, 2026 22:07
@aryairani
Copy link
Contributor

Nice

@aryairani aryairani enabled auto-merge February 12, 2026 17:09
@aryairani aryairani added this pull request to the merge queue Feb 12, 2026
@aryairani aryairani removed this pull request from the merge queue due to the queue being cleared Feb 12, 2026
@aryairani aryairani requested a review from a team as a code owner February 13, 2026 03:10
@aryairani aryairani added this pull request to the merge queue Feb 13, 2026
Merged via the queue into trunk with commit 3aea4e4 Feb 13, 2026
5 checks passed
@aryairani aryairani deleted the load-merge branch February 13, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cody's "everything looks like an add on merge branch"

2 participants