summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-03 22:14:44 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-02-03 22:14:44 +0100
commit02caf4d03ae90dafc03a122ce1d79efc7b61096a (patch)
tree43e47ed6e5e01eda72b824f911bfdca76102c5db /.pre-commit-config.yaml
parent299852d4b5e4129159b0fdcc0433242e3cf28375 (diff)
pre-commit: Use git clang-format instead of plain clang-format
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a26c7d66c6..8b1d72f80a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -32,6 +32,8 @@ repos:
rev: master
hooks:
- id: clang-format
+ entry: git clang-format
+ args: []
stages:
- commit
- manual