It would be handy to be able to install the pre-commit hooks with a drush command. Here's a patch to do just that.

With this patch, you can download dcq to ~/.drush/dcq and then run drush dcq-install in any git repository to install the pre-commit hooks there.

CommentFileSizeAuthor
dcq-drush-command.patch2.33 KBbecw

Comments

eugene.ilyin’s picture

Status: Needs review » Fixed

Thank you! It's great idea.
Your patch was commited, it will be available in new version - 7.x-2.1

becw’s picture

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Add more information on how to use the patch.