From: Junio C Hamano Date: Fri, 02 Oct 2026 17:11:23 GMT Subject: Re: [PATCH] branch: let --delete-merged default to every upstream Message-ID: In-Reply-To: "Harald Nordgren via GitGitGadget" writes: > From: Harald Nordgren > > Cleaning up every branch whose work has landed upstream required > typing '*/*' as the pattern. This description and what the code actually does contradict with each other, I wonder? > Let a bare "git branch --delete-merged" consider every upstream. As > with "--merged" without a commit, this applies only when the option > comes last, so "git branch --dry-run --delete-merged" previews the > cleanup. There are many options ('--merged', '--no-merged', '--contains', '--no-contains', '--unset-upstream', '--edit-description') that default to the current branch, which is a very natural thing within the context of git. Is defaulting to '**' is a good comparison to them? I dunno. > + .defval = (intptr_t) "**", > + },