Skip to content

fix: skip worktree hooks outside git repositories - #68

Open
wagner-sousa wants to merge 1 commit into
sven1103-agent:mainfrom
wagner-sousa:fix/no-op-outside-git
Open

fix: skip worktree hooks outside git repositories#68
wagner-sousa wants to merge 1 commit into
sven1103-agent:mainfrom
wagner-sousa:fix/no-op-outside-git

Conversation

@wagner-sousa

@wagner-sousa wagner-sousa commented Aug 12, 2026

Copy link
Copy Markdown

Summary

  • skip automatic worktree hooks when the CLI runs outside a Git repository
  • preserve explicit worktree operation errors with actionable guidance
  • add regression coverage for before, after, and system transform hooks

Validation

  • npm test: 91 passed
  • git diff --check

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