Skip to content

Release v0.4.1 - Bug Fix Release

Choose a tag to compare

@shhac shhac released this 31 Oct 21:30
· 152 commits to main since this release
2a94973

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
  • 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 + ✓ checkmark
  • printError() → 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-wt

Linux (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-wt

Linux (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-wt

Platform 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