Release v0.4.1 - Bug Fix Release
Bug Fixes
This release fixes duplicate symbols in command output that were causing visual issues.
Fixed Issues
-
Duplicate checkmarks in clean command
- Before:
✓ ✓ No worktrees need cleaning - After:
✓ No worktrees need cleaning
- Before:
-
Duplicate symbols in remove command (5 instances)
✓ Worktree removed successfully✓ Branch deleted successfully✓ Removed worktree for 'branch'✓ Successfully removed: X worktrees✗ Failed to remove: X worktrees
-
Duplicate 'Error:' prefix in new command
printError()already adds "Error:" prefix automatically
Root Cause
Helper functions printSuccess() and printError() automatically add symbols and prefixes:
printSuccess()→ adds bold+green +✓checkmarkprintError()→ adds bold+red +Error:text
We were manually duplicating these in format strings throughout the codebase.
Technical Details
- All 62 tests passing
- Zero memory leaks
- No functional changes, only output formatting fixes
Installation
macOS (Universal - Intel & Apple Silicon)
curl -LO https://github.com/shhac/git-wt/releases/download/v0.4.1/git-wt-macos-universal.tar.gz
tar -xzf git-wt-macos-universal.tar.gz
chmod +x git-wt-macos-universal
mv git-wt-macos-universal ~/.local/bin/git-wtLinux (x86_64)
curl -LO https://github.com/shhac/git-wt/releases/download/v0.4.1/git-wt-x86_64-linux.tar.gz
tar -xzf git-wt-x86_64-linux.tar.gz
chmod +x git-wt-x86_64-linux
sudo mv git-wt-x86_64-linux /usr/local/bin/git-wtLinux (ARM64)
curl -LO https://github.com/shhac/git-wt/releases/download/v0.4.1/git-wt-aarch64-linux.tar.gz
tar -xzf git-wt-aarch64-linux.tar.gz
chmod +x git-wt-aarch64-linux
sudo mv git-wt-aarch64-linux /usr/local/bin/git-wtPlatform Support
| Platform | Architecture | Binary Size |
|---|---|---|
| macOS | Universal (Intel + Apple Silicon) | 500 KB |
| macOS | Intel (x86_64) | 262 KB |
| macOS | Apple Silicon (ARM64) | 238 KB |
| Linux | x86_64 | 1.1 MB |
| Linux | ARM64 | 1.1 MB |