Skip to content

entire enable hooks ignored when core.hooksPath is overridden (Husky) #228

@camwest

Description

@camwest

entire enable installs hooks in .git/hooks/, but Husky sets core.hooksPath=.husky/_. Git never runs Entire's hooks, so commits have no Entire-Checkpoint trailer.

Repro: Enable Entire in a Husky project, commit normally, check git log -1 — no trailer.

Workaround: git -c core.hooksPath=.git/hooks commit -m "message"

Fix: entire enable should read core.hooksPath and install there (or chain from existing hooks).

Entire CLI 0.4.2, macOS, Husky via .husky/_

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions