Repository navigation
feat: sibling directory standard and tmux session integration for worktrees - #43
felipecm-br wants to merge 1 commit into
Conversation
|
Confidence: 2/5The sibling-directory create flow works on a Checks run
SummaryThanks Felipe, the Mapflowchart LR
n[worktrees.rs 'n' input] --> add[worktree.rs add_worktree]
add --> sib[resolve_worktree_sibling_path]
add --> base[branch.NAME.base]
add --> env[copy ../main/.env]
add --> hook[post-create.sh spawn]
n --> menu[action menu t/o/s]
menu --> tmux[open_in_tmux_session: wm / sesh / tmux]
key[t key] --> tmux
Start at Regressions
MigrationsNone. Writes Before merging
|
Description
Improves worktree management with support for sibling directory creation layouts (especially useful with
.barerepository standard) and seamless Tmux/session manager integration.Details
../<branch>) with slugged names (e.g.feat/login->feat-login), preserving repository structure without cluttering the parent workspace.branch.<name>.basein git config for downstream tooling.ton selected worktrees to open directly in a dedicated Tmux session (supportingwm connect,sesh connect, or nativetmux switch-client/new-session).Open in Tmux,Open lazygitrs in terminal,Stay in current worktree).~/.config/lazygitrs/hooks/post-create.shor~/.config/matchmaker/hooks/post-create.sh.Validation
cargo test --bin lazygitrs(all 373 tests passed)cargo fmt --check