.gitignore: add some more IDE / tools related file
[babeltrace.git] / tools / format-cpp.sh
index be9ef74c41a260a7e8dd36ec95d21ea2e9732f3c..763c726beee51418359143ef8dbbae152c655ac4 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Copyright (C) 2020-2023 Philippe Proulx <pproulx@efficios.com>
 
-expected_formatter_major_version=15
+expected_formatter_major_version=16
 
 # Runs the formatter, returning 1 if it's not the expected version.
 #
@@ -44,6 +44,7 @@ format_cpp() {
        # We want an absolute starting directory because find(1) excludes
        # files in specific subdirectories.
        find "$(realpath "$root_dir")" \( -name '*.cpp' -o -name '*.hpp' \) \
+               ! -path '*/.git/*' \
                ! -path '*/src/cpp-common/vendor/*' \
                ! -path '*/src/plugins/ctf/common/metadata/parser.*' \
                ! -path '*/src/plugins/ctf/common/metadata/lexer.*' \
This page took 0.023734 seconds and 4 git commands to generate.