From dba9ffe0616d0798afec4e2fafe160a3baf78466 Mon Sep 17 00:00:00 2001 From: Stephen Shelton Date: Fri, 3 Apr 2020 13:42:47 -0600 Subject: [PATCH] Add 'clang-format-hooks' submodule This submodule provides git hooks which invoke clang-format in intelligent ways. --- .gitmodules | 3 +++ external/clang-format-hooks | 1 + 2 files changed, 4 insertions(+) create mode 160000 external/clang-format-hooks diff --git a/.gitmodules b/.gitmodules index 855ea5ab2..6a92e8492 100644 --- a/.gitmodules +++ b/.gitmodules @@ -23,3 +23,6 @@ path = external/pybind11 url = https://github.com/pybind/pybind11 branch = stable +[submodule "external/clang-format-hooks"] + path = external/clang-format-hooks + url = https://github.com/barisione/clang-format-hooks/ diff --git a/external/clang-format-hooks b/external/clang-format-hooks new file mode 160000 index 000000000..ac35e705e --- /dev/null +++ b/external/clang-format-hooks @@ -0,0 +1 @@ +Subproject commit ac35e705ebf20187b7ff92c29d1411f6a4c8d522