Skip to content

Conversation

@DBoroujerdi
Copy link
Contributor

@DBoroujerdi DBoroujerdi commented Jan 31, 2026

Summary

  • Sanitize branch names with / for folder paths (e.g., feat/foofeat_foo)
  • Store worktree mappings in ~/.local/share/wt/worktrees.json registry
  • Auto-sync registry with filesystem to detect missing/orphaned worktrees
  • Show original branch names in wt list output with colored formatting
  • Fix config loading to find .wt.toml from git repo root (not cwd)
  • Add -v/--verbose flag for debugging config loading issues

🤖 Generated with Claude Code

DBoroujerdi and others added 3 commits January 30, 2026 16:40
Previously getLocalConfigPath() returned just ".wt.toml" which meant
the config was only found when running wt from the repo root. Now it
uses git rev-parse to find the repository root and loads .wt.toml
from there.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Shows detailed logging of config loading including:
- Which config files are being checked
- TOML parse errors with line numbers
- Final merged config values
- File copy operations

Also shows config parse errors as warnings even without -v flag.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants