Skip to content

[minion] Install git hooks using chaining instead of overwriting existing hooks#14

Open
jcleira wants to merge 1 commit intomainfrom
minion/git-hook-chaining
Open

[minion] Install git hooks using chaining instead of overwriting existing hooks#14
jcleira wants to merge 1 commit intomainfrom
minion/git-hook-chaining

Conversation

@jcleira
Copy link
Member

@jcleira jcleira commented Mar 18, 2026

Objective

When partio enable installs git hooks, use hook chaining (appending a call to partio within the existing hook script) instead of overwriting any existing hook. If a hook file already exists, add a Partio invocation block guarded by a comment sentinel so it can be cleanly removed by partio disable. This prevents breaking existing hook setups.


Automated PR by partio-io/minions · Task: git-hook-chaining

Created by an unattended coding agent. Please review carefully.

Automated by partio-io/minions (task: git-hook-chaining)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant