summaryrefslogtreecommitdiff
path: root/hooks/pre-commit
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-14 20:24:10 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-14 20:24:10 +0300
commit1dc163c06639d6c225b25c9dd2955b21bbb706d3 (patch)
tree5a379a32304aca490df87211d0425220eea69643 /hooks/pre-commit
parentUpdate CMakeLists to use Qt6 (diff)
downloadrekonq-1dc163c06639d6c225b25c9dd2955b21bbb706d3.tar.xz
pre-commit hook: Add clang-format check
Diffstat (limited to 'hooks/pre-commit')
-rwxr-xr-xhooks/pre-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
new file mode 100755
index 00000000..aa7cbe8a
--- /dev/null
+++ b/hooks/pre-commit
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+./hooks/clang-format.sh