Skip to content

tweak(worktrees): foreground checkout paths in the picker#99

Merged
barrettruth merged 1 commit intomainfrom
tweak/worktree-path-first
Apr 8, 2026
Merged

tweak(worktrees): foreground checkout paths in the picker#99
barrettruth merged 1 commit intomainfrom
tweak/worktree-path-first

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Summary

  • render worktree rows as path-first entries so the picker optimizes for choosing a checkout destination instead of scanning branch metadata first
  • add light alignment for path, branch/state, and HEAD columns, including tail-preserving truncation for long paths
  • update the worktree picker docs and expectations in git_sections_spec

Test plan

  • nix develop .#ci --command busted spec/git_sections_spec.lua spec/fzf_picker_spec.lua spec/init_spec.lua
  • ./scripts/ci.sh

Make worktree rows path-first so the picker optimizes for choosing a checkout
location, with branch/state and HEAD shown as secondary context instead of
burying the destination path behind branch metadata.
@barrettruth barrettruth merged commit aae6d05 into main Apr 8, 2026
8 checks passed
@barrettruth barrettruth deleted the tweak/worktree-path-first branch April 8, 2026 01:43
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.

1 participant