Skip to content

Commit

Permalink
added note on githooks in coding guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
pdschubert committed Aug 29, 2018
1 parent ee95034 commit 5e264be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CODING_GUIDELINES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ coding guidelines can be here:

https://llvm.org/docs/CodingStandards.html

In addition, the pre-commit script in githooks/ has to be copied into the
./git/hooks/ directory:

$ cp githooks/pre-commit .git/hooks/

The script will run some useful clang-tidy checks as well as clang-format over
the entire code base just before your changes are committed in order to reduce
the number of unnecessary merge conflicts and to unify the code base.

0 comments on commit 5e264be

Please sign in to comment.