From e596cb0efdea91c0e41f4ab0d8f4bbbbb27494fd Mon Sep 17 00:00:00 2001 From: Simon Sticko Date: Wed, 14 Aug 2019 14:28:56 +0200 Subject: [PATCH] Update instructions on where to find the pre-commit git-hook. --- doc/doxygen/headers/coding_conventions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

-- 2.39.5