Skip to content

Nest single worktrees by branch path #732

Description

@davdroman

What problem does this solve?

“Nest Worktrees by Branch” only creates a group when a branch prefix contains multiple worktrees. With a single branch such as feature/tools/api, the worktree remains flat and the setting has no visible effect.

Proposed solution

Apply branch nesting to single worktrees. For example:

feature/tools
└── api

Single-component branches such as main should remain flat.

Alternatives considered

Continue showing the full branch path as one flat row.

Supacode version

Not provided.

Are you planning to build this yourself?

  • I intend to open a pull request once this is approved and marked ready.

Before submitting

  • I searched existing issues and this is not a duplicate.
  • I understand feature pull requests are closed until the issue is marked ready.
  • I agree to follow this project’s Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions