From: Simon Sticko Date: Wed, 14 Aug 2019 12:28:56 +0000 (+0200) Subject: Update instructions on where to find the pre-commit git-hook. X-Git-Tag: v9.2.0-rc1~1245^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e596cb0efdea91c0e41f4ab0d8f4bbbbb27494fd;p=dealii.git Update instructions on where to find the pre-commit git-hook. --- diff --git a/doc/doxygen/headers/coding_conventions.h b/doc/doxygen/headers/coding_conventions.h index 97c3249605..81108d1902 100644 --- a/doc/doxygen/headers/coding_conventions.h +++ b/doc/doxygen/headers/coding_conventions.h @@ -53,7 +53,7 @@ in whatever directory you set up the library to be compiled in, to indent all source files that have been changed recently. If you want to make sure that the indenting is correct for all your commits, you might want to set up a pre-commit hook. One way to do so, is to copy -\${SOURCE_DIR}/contrib/scripts/pre-commit-clang-format to +\${SOURCE_DIR}/contrib/git-hooks/pre-commit to \${SOURCE_DIR}/.git/hooks/pre-commit and make sure it is executable.