aboutsummaryrefslogtreecommitdiff
path: root/tools/format-code.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/format-code.sh')
-rwxr-xr-xtools/format-code.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/format-code.sh b/tools/format-code.sh
deleted file mode 100755
index 68be1d8..0000000
--- a/tools/format-code.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-# get names of staged files | filter out the header and cpp files | clang-format them
-git diff --staged --name-only | grep --regex="\.h\|\.cpp" | xargs clang-format -i