Re: [PATCH v3 0/3] branch: let --delete-merged find squash merged branches
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Oct 23, 2026, 09:07 UTC
- Message-ID
- <CAHwyqnWCndBcrxxkDTyLoC7hM3OgS8pAP=H=gt0r2ZmmKnaojg@mail.gmail.com>
- In-Reply-To
- <20261022174429.81186-1-me@jaspermayone.com>
Show 7 quoted lines
> > I'm leaning toward `--delete-merged[=<level>]`. But it's good that you > > are pointing this out. It's tempting to unify it like that. > > The value of --delete-merged is already taken by the upstream > <pattern>, and it is required. So "--delete-merged=squashed" already > means "branches whose upstream is a ref called squashed" today, and > it cannot also carry a level without breaking that.
This is a good point and stops the `--delete-merged=squashed`, and likely also `--delete-integrated=<level>` to keep it uniform.
Harald