You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'Prune when fetching' deletes branches from other remotes #971
If 'Prune when fetching' is enabled and there are multiple remotes defined, fetching any remote will delete the branches from all other remotes. That's quite obviously not intended behaviour. Gut feeling tells me that remote branches need to tagged with the source and only pruned when that specific remote is fetched.
Activity
AHSauge commentedon May 22, 2026
I didn't debug this, but looking at the code, this runs pretty quickly into libgit2, so it would seem this is a libgit2 issue