Re: [PATCH] branch: let --delete-merged find squash merged branches
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Oct 9, 2026, 08:16 UTC
- Message-ID
- <cf3bb2a4-5956-4ba5-9957-b0598f22a122@app.fastmail.com>
- In-Reply-To
- <CAHwyqnWkTvicU+U99j0MzzUUXeVnUj=FJJwUDR1F7DGk1hmtrA@mail.gmail.com>
On Thu, Oct 8, 2026, at 20:42, Harald Nordgren wrote:
Show 10 quoted lines
>> Even an efficient implementation is going to be a lot slower when it is >> trying to find branches that have been squashed, so I think we probably >> do want a way to turn it off. That's especially true in partial clones >> where we'll have to download a bunch of blobs to do the squash >> detection. So long as it isn't diabolically slow enabling it by default >> is probably fine. > > A bit slower (depends on how much!) could be worth it for improved > usability. This is not a command that users will run multiple times a > day.
I would really like a solid delete operation that I can run, say, overnight. I have better hygiene practices today but I didn’t back then, so things have piled up.
One big cleanup is worth a nightly run. So I don’t care about how slow it is.
>[snip]