Skip to content

--find-root does not work correctly in nested repositories #52

@nhojb

Description

@nhojb

I use git worktrees, usually nested in the parent repo e.g.

<parent>/.agent-shell/<worktree-name>/

cs --find-root works as expected in the parent repo, but in a nested worktree, also returns the parent repo. This confuses agents :-/

cs version: 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions