bahmutov / pre-git

Automatically install pre-commit / pre-push hooks in your git repo
168 stars 22 forks source link

Different regexps for different hooks #94

Closed voroshkov closed 8 years ago

voroshkov commented 8 years ago

I tried to use the msg-pattern parameter to validate commit messages, but this param seems to apply to all hooks, not only commit-msg, so I cannot push without a message that corresponds to msg-pattern.

Is it possible to configure different msg-patterns for different hooks?

voroshkov commented 8 years ago

Seems it's something different not allowing me to push...