Re: [PATCH v14 4/6] branch: add --prune-merged <branch>
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Jun 22, 2026, 09:09 UTC
- Message-ID
- <31172867-5577-4c1e-b8b6-425ef9fe44e1@gmail.com>
- In-Reply-To
- <CAHwyqnVce7NKft9AEyCUnR=S_y1ygiXjhf-qmJqmi-tuUXcw=g@mail.gmail.com>
Hi Harald
On 21/06/2026 19:46, Harald Nordgren wrote:
Show 6 quoted lines
> Looking into this more and attempting to implement the logic for > re-assigning the upstream, it becomes quite a lot of code. > > Maybe an easier way forward now is to avoid deleting these cases. We > can always add the re-assigning logic later on without breaking > backward compatibility.
Not deleting the branch is certainly safest and should be fairly easy to implement. Adding an option to reassign the upstream later sounds fine to me.
Thanks
Phillip