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
fix: only show show-branch when commits are truly unpushed
The previous implementation blocked deletion whenever the branch wasn't
an ancestor of the default branch, even if all commits were pushed to
origin/feature-branch. This forced users to use --force unnecessarily.
Now we:
1. First check git log --branches --not --remotes (original behavior)
2. Only if that finds unpushed commits, show the enhanced error
This maintains the original safety check (only block truly unpushed
commits) while providing better error messaging when it matters.
0 commit comments