aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-09-29 14:05:54 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-10-10 14:13:35 -0400
commit32b7cbd4a7cd8cffb47c5465301141eaad599eaa (patch)
tree245fb09ff61454d9afec8c37ef29957f04c5028e /docs
parent0a3a9fa0c3ebf45c94d9009a59cead571cbecf7b (diff)
downloadmeson-32b7cbd4a7cd8cffb47c5465301141eaad599eaa.zip
meson-32b7cbd4a7cd8cffb47c5465301141eaad599eaa.tar.gz
meson-32b7cbd4a7cd8cffb47c5465301141eaad599eaa.tar.bz2
clangformat: Only format files tracked by git by default
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Code-formatting.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/Code-formatting.md b/docs/markdown/Code-formatting.md
index 386c787..8191aa2 100644
--- a/docs/markdown/Code-formatting.md
+++ b/docs/markdown/Code-formatting.md
@@ -56,3 +56,8 @@ Note that `.clang-format-ignore` has the same format as used by
A new target `clang-format-check` has been added. It returns an error code if
any file needs to be reformatted. This is intended to be used by CI.
+
+*Since 0.60.0*
+
+If `.clang-format-include` file is missing and source files are in a git
+repository, only files tracked by git will be included.