diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-14 15:10:59 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-14 13:56:19 +0000 |
commit | 1b2c1b6c5d040d76baada70feff82986e3811f48 (patch) | |
tree | d1c0341325166c89c0afa279ee4d5e2170a91d87 | |
parent | 17750ded9db8cb355e3219b9c2ff29f038d163b1 (diff) |
clang-format-pre-commit: Fix help text to list the likely correct command
Change-Id: Ie78af25b3ef855e3f88d9f075654649abe41fc4c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rwxr-xr-x | git-hooks/clang-format-pre-commit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-hooks/clang-format-pre-commit b/git-hooks/clang-format-pre-commit index a218ed3..8b18541 100755 --- a/git-hooks/clang-format-pre-commit +++ b/git-hooks/clang-format-pre-commit @@ -8,7 +8,8 @@ # Usage: in every repository you want to have checked: # cd .git/hooks -# ln -s /path/to/git_pre_commit_hook pre-commit +# ln -s ../../../qtrepotools/git-hooks/clang-format-pre-commit pre-commit +# mklink pre-commit ..\..\..\qtrepotools\git-hooks\clang-format-pre-commit # CLANG_FORMAT=`which git-clang-format` |