Skip to content

Commit

Permalink
make git hooks directory if needed in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed Sep 2, 2020
1 parent 217e990 commit c34e395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/setup_git_hooks
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# sets up pre commit hooks

rm -rf .git/hooks/pre-commit
mkdir -p .git/hooks
cp -f scripts/clang_format_git_diff .git/hooks/pre-commit
cat scripts/strip_header >> .git/hooks/pre-commit

0 comments on commit c34e395

Please sign in to comment.