Subject: Re: limiting git branch --contains

From: Junio C Hamano <[email-masked]>
Date: Thu, 23 Mar 2023 12:42:52 -0700

Oswald Buddenhagen <[email-masked]> writes:

> git branch --contains can be a rather expensive operation in big
> repositories. as my use case is actually a rather limited search for
> commits in my local wip branches,...

I can do

    $ git branch --list --contains master \??/\*

to show only the topic branches that forked from/after 'master', and
replacing 'master' with v2.40.0 or any older point and the output
starts showing more branches, but the search excludes integration
branches like 'next' and 'seen'.  Is that what you are after?