Re: [PATCH v14 4/6] branch: add --prune-merged <branch>
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Jun 22, 2026, 10:52 UTC
- Message-ID
- <CAHwyqnWztMhKkDGkfh0cZzT+gAuFZ4_n-vhvJsXrSY1apgqSRQ@mail.gmail.com>
- In-Reply-To
- <ddf37b2d-29b4-4a3c-b7d9-b681af028b24@gmail.com>
> clearing the upstream setting of > merged branches.
Why do we need to do that, they will be deleted anyway since they are merged?
> It also builds a list of upstream branches rather than > just pruning the set of to-be-deleted branches in the > refs_for_each_branch_ref() callback which seems a bit wasteful.
Good point.
Harald