Skip to content

Never delete main/master, skip worktree branches, add tests and CI - #1

Merged
robin221221 merged 2 commits into
mainfrom
fix/safety-and-tests
Nov 3, 2026
Merged

robin221221 merged 2 commits into
mainfrom
fix/safety-and-tests

Conversation

@robin221221

Copy link
Copy Markdown
Owner

Fixes: --delete could remove main when run from another branch; branches checked out in other worktrees were offered for deletion; missing git crashed with a traceback; author name was shown next to the committer date; --days accepted 0 and negative values; multi-line git hints cluttered output; stale-branches was not executable after clone. Adds end-to-end tests and a GitHub Actions matrix for Linux, Windows and macOS.

Fixes: --delete could remove main when run from another branch; branches checked out in other worktrees were offered for deletion; missing git crashed with a traceback; author name was shown next to the committer date; --days accepted 0 and negative values; multi-line git hints cluttered output; stale-branches was not executable after clone. Adds end-to-end tests and a GitHub Actions matrix for Linux, Windows and macOS.
…n main

Python 3.9 is no longer available on the Ubuntu runner; checkout/setup-python v4/v5 target the deprecated Node 20.
@robin221221
robin221221 merged commit 480caf2 into main Nov 3, 2026
4 of 6 checks passed
@robin221221
robin221221 deleted the fix/safety-and-tests branch November 3, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant