We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4222a7 commit 32adefeCopy full SHA for 32adefe
tools/scripts/clang-format.sh
@@ -8,4 +8,4 @@
8
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
#----------------------------------------------------------------------------
10
11
-git diff --name-only --diff-filter=A -C -M develop | grep -e "\.\(c\|h\|hpp\|cpp\)\$" | xargs clang-format -i "$@"
+git diff --name-only --diff-filter=A -C -M develop | grep -e "\.\(c\|h\|cc\|hh\|hpp\|cpp\)\$" | xargs -r clang-format -i "$@"
0 commit comments