diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:12:55 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-01-22 06:12:55 +0100 |
commit | 71789c970d2c73b9c737a866e8b4c2fed5bae1ed (patch) | |
tree | d978f4c386edd9f28f64567124e29b1b2d815b59 /autogen.sh | |
parent | 4d85e93cf9eab7efb1b99f64c720a6af182a6736 (diff) |
Install and use pre-commit indentation hook from common
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 589e85668..0ea5b171f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -22,6 +22,13 @@ then fi . common/gst-autogen.sh +# install pre-commit hook for doing clean commits +if test ! -x .git/hooks/pre-commit; +then + cp common/hooks/pre-commit.hook .git/hooks/pre-commit + chmod +x .git/hooks/pre-commit +fi + CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc' autogen_options $@ |