fix(workflow): add --repo flag to tea pr create in worktree dirs #479
Reference in New Issue
Block a user
Delete Branch "fix/474-tea-pr-worktree-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fixed issue #474 where
tea pr createfails in git worktree directories with 'Error: path segment [0] is empty'.Why
The
teaCLI cannot parse repository information when run from a worktree directory (~/repos/workflow-worktrees/fix/...) because worktrees have different internal directory structures than regular git repos.Changes
.workflows/solve-issue.yamlcommitter prompt to always use--repo uncaged/workflowflag when callingtea pr createRef
Fixes #474