Skip to content

fix: remove history filter only on successful remote branch deletion - #2533

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:fix/delete-remote-branch-history-filter
Jul 14, 2026
Merged

fix: remove history filter only on successful remote branch deletion#2533
love-linger merged 1 commit into
sourcegit-scm:developfrom
JC-Chung:fix/delete-remote-branch-history-filter

Conversation

@JC-Chung

Copy link
Copy Markdown
Contributor

In DeleteBranch.Sure(), RemoveHistoryFilter was called unconditionally
when deleting a remote branch, even if the deletion failed. Wrap it in
if (succ) to match the local branch and tracking branch paths.

@love-lingerlove-linger self-assigned this Jul 14, 2026
@love-lingerlove-linger added the enhancement New feature or request label Jul 14, 2026
@love-linger
love-linger merged commit d235132 into sourcegit-scm:developJul 14, 2026
14 checks passed
@JC-Chung
JC-Chung deleted the fix/delete-remote-branch-history-filter branch July 14, 2026 09:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@JC-Chung@love-linger