From: Harald Nordgren Date: Mon, 11 May 2026 06:56:12 GMT Subject: [PATCH] fetch: add fetch.pruneLocalBranches config Message-ID: <20260511065612.43515-1-haraldnordgren@gmail.com> In-Reply-To: >>> I have some sympathy for the desire to clean up unnecessary local >>> branches, but I don't like the concept that `git fetch` modifies local >>> branches, not even as an opt-in. Deleting local branches should be `git >>> branch`'s task exclusively (at the porcelain level). >> >> Yeah, maybe that's a good point. > > I think the latest iteration was sent after the above exchange, yet > it seems to have changes to builtin/fetch.c to cause `git fetch` to > modify local branches still. Will we have another update that is > hopefully final to excise that part, or are we OK to allow `fetch` > to modify the local state as an opt-in now? Done! (I didn't know if we wanted to do this yet, or we still just discussion it, but now I deleted it.) Harald