Commit 71789c97 authored by Edward Hervey's avatar Edward Hervey 🤘

Install and use pre-commit indentation hook from common

parent 4d85e93c
...@@ -22,6 +22,13 @@ then ...@@ -22,6 +22,13 @@ then
fi fi
. common/ . common/
# install pre-commit hook for doing clean commits
if test ! -x .git/hooks/pre-commit;
cp common/hooks/pre-commit.hook .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc' CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'
autogen_options $@ autogen_options $@
common @ 137543b7
Subproject commit 5dc8ae302733ce1aae5b1aaa613ce77a8ae4b3d9 Subproject commit 137543b7e782c811bc88bf9210323e7e75835d18
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment