Forráskód Böngészése

Style: Fix clang-format pre-commit hook for java and glsl

Rémi Verschelde 7 éve
szülő
commit
3c62aa778d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      misc/hooks/pre-commit-clang-format

+ 1 - 1
misc/hooks/pre-commit-clang-format

@@ -31,7 +31,7 @@ PARSE_EXTS=true
 
 
 # File types to parse. Only effective when PARSE_EXTS is true.
 # File types to parse. Only effective when PARSE_EXTS is true.
 # FILE_EXTS=".c .h .cpp .hpp"
 # FILE_EXTS=".c .h .cpp .hpp"
-FILE_EXTS=".c .h .cpp .hpp .cc .hh .cxx .m .mm .inc *.java *.glsl"
+FILE_EXTS=".c .h .cpp .hpp .cc .hh .cxx .m .mm .inc .java .glsl"
 
 
 # Use pygmentize instead of cat to parse diff with highlighting.
 # Use pygmentize instead of cat to parse diff with highlighting.
 # Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac)
 # Install it with `pip install pygments` (Linux) or `easy_install Pygments` (Mac)