diff --git a/.gitconfig b/.gitconfig index 1af5e81ed20c..c60d30ae08b1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -26,7 +26,7 @@ # git config --local include.path ../.gitconfig # [filter "codeformat"] - clean = clang-format --style=file + clean = clang-format --assume-filename=%f --style=file [merge] renormalize = true