Skip to content

Config worktreeRoot isn't respected #14

@looeee

Description

@looeee

~/.pi/agent/pi-worktrees-settings.json:

{
  "worktrees": {
    "**": {
      "worktreeRoot": "{{mainWorktree}}-worktrees",
      "onCreate": []
    }
  }
}

Close and reopen pi.

Then type "/worktree settings" and I see the output:

Worktree Settings:
 ━━━━━━━━━━━━━━━━━━

 worktreeRoot: {{mainWorktree}}.worktrees
 onCreate:     echo "Created {{path}}"

If I do /worktree create test then the test worktree is still created at {{mainWorktree}}.worktrees instead of {{mainWorktree}}-worktrees.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions