Skip to content

fix(rstack): honor worktree-scoped hooks path - #400

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-setup-worktree-hooks
Aug 24, 2026
Merged

fix(rstack): honor worktree-scoped hooks path#400
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-setup-worktree-hooks

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

rs setup --force could report success while a worktree-scoped core.hooksPath continued to override the local value. This PR writes the generated hooks path at the effective Git configuration scope and verifies the resolved hooks directory before reporting success. It also reports command-scoped overrides that cannot be persistently replaced.

Related Links

#399 (comment)

@chenjiahan
chenjiahan merged commit bccf6b4 into main Aug 24, 2026
4 of 5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-setup-worktree-hooks branch August 24, 2026 10:28
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