Harald Nordgren's patch addresses branches merged on GitHub with 'Squash and merge' or 'Rebase and merge', which 'git branch --delete-merged' never deleted because their tips are not reachable from the upstream. A branch is treated as merged when some upstream commit since the fork point contains all of its changes. The output names that commit, for example 'Deleted branch topic (was 1a2b3c4, landed as 9f8e7d6)'. The first matching upstream commit is used.
The thread, now at 128 messages, has turned to interface design. Ben Knoble said he finds the distinction between the two existing options hard to remember and would prefer a single --delete-integrated[=merged,squashed,rebased], accepting several comma-separated modifiers, with 'all' as an alias and possibly the default. He suggested negative forms like ^merged could come later, and that remove-worktrees might fit there too.
Nordgren, who is sketching a '--delete-merged --remove-worktrees' follow-up, said it would have to be added in two places, '--delete-merged' and '--delete-integrated'. He asked whether the two should be unified now, while there is still a chance.
D. Ben Knoble raised a separate point about a later version: the command appears to print 'deleted...' before carrying out the deletion, so an interruption could report an operation that did not occur. He suggested running the non-dry-run actions before printing the message, while acknowledging that reporting nothing might be worse. Kristoffer Haugsbakk, Phillip Wood, Junio C Hamano, Jasper Mayone and Tuomas Ahola also took part, but their positions are not in the excerpts. The option naming remains unsettled.