Skip to content

Update user hooks when their content changes#45

Open
phi-go wants to merge 1 commit intorhysd:masterfrom
phi-go:user_hook_content_hash
Open

Update user hooks when their content changes#45
phi-go wants to merge 1 commit intorhysd:masterfrom
phi-go:user_hook_content_hash

Conversation

@phi-go
Copy link
Copy Markdown

@phi-go phi-go commented Feb 18, 2026

User hooks are currently only updated if the cargo-husky version changes. This MR implements hashing the content of user hooks to check if there was a update.

User hooks were only updated if cargo-husky version increased.
Now check the content of the user hook using a hash to check if there
was a update.
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