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
Squash-merge integration detection: Improved branch cleanup detection with four ordered checks to identify when branch content is already in the target branch. This enables accurate removal of squash-merged branches even after target advances. New status symbols: · for same commit, ⊂ for content integrated via different history. (6325be2)
CI absence caching: Cache "no CI found" results to avoid repeated API calls for branches without CI configured. Reduces unnecessary rate limit consumption. (8db3928)
Shell completion tests: Black-box snapshot tests for zsh, bash, and fish completions that verify actual completion output. (#117)
Changed
Merge conflict indicator: Changed from ⊘ to ⚔ (crossed swords) for better visual distinction from the rebase symbol. (f3b96a8)
Documentation
Hook JSON context: Document all JSON fields available to hooks on stdin with examples for Python and other languages. (af80589)
CI caching: Document that CI results are cached for 30-60 seconds and how to use wt config cache to manage the cache. (4804913)
Status column clarifications: Clarify that the Status column contains multiple subcolumns with priority ordering. (1f9bb38)
wt hook command: New command for running lifecycle hooks directly. Moved hook execution from wt step to wt hook for cleaner semantic separation. (#113)
Named hook execution: Run specific named commands with wt hook <type> <name> (e.g., wt hook pre-merge test). Includes shell completion for hook names from project config. (#114)
Pre-remove hook: New pre-remove hook runs before worktree removal, enabling cleanup tasks like stopping devcontainers. Thanks to @pwntester in #101. (#107)
JSON context on stdin: Hooks now receive worktree context as JSON on stdin, enabling hooks in any language (Python, Node, Ruby, etc.) to access repo information. (#109)
wt config create --project: New flag to generate .config/wt.toml project config files directly. (#110)
Fixed
Shell completion bypass: Fixed lazy shell completion to use command builtin, bypassing the shell function that was causing _clap_dynamic_completer_wt errors. Thanks to @cquiroz in #102. (#105)
Remote-only branch completions: wt remove completions now exclude remote-only branches (which can't be removed) and show a helpful error with hint to use wt switch. (#108)
Detached HEAD hooks: Pre-remove hooks now work correctly on detached HEAD worktrees. (#111)