Add clang-format-pre-commit hook

Change-Id: I762b85b96f7ab87e6c11426607165d4f1b8dbae5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Frederik Gladhorn 2018-06-24 11:37:18 +02:00
parent 53f93876cb
commit accc0af6e4
1 changed files with 1 additions and 0 deletions

View File

@ -627,6 +627,7 @@ sub git_install_hooks
}
$self->ensure_link($hooks.'/gerrit_commit_msg_hook', $module_gitdir.'/hooks/commit-msg');
$self->ensure_link($hooks.'/git_post_commit_hook', $module_gitdir.'/hooks/post-commit');
$self->ensure_link($hooks.'/clang-format-pre-commit', $module_gitdir.'/hooks/pre-commit');
}
}