From: Harald Nordgren Date: Thu, 08 Oct 2026 18:42:08 GMT Subject: Re: [PATCH] branch: let --delete-merged find squash merged branches Message-ID: In-Reply-To: <61ae371a-225c-4400-b878-8547547d1269@gmail.com> > 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 hope we could have it on by default and add a flag to turn it off instead. For partial or shallow clones, we should probably warn the user that detection won't be able to search the full history, and offer them to unshallow, etc. It's very reasonable that some parts are turned off, when the user doesn't want to hold the complete repo. Harald