diff options
author | Vitaly Buka <vitalybuka@google.com> | 2020-04-03 11:26:51 +0300 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2020-04-03 11:37:56 +0300 |
commit | 1aee1ae5326cf1f6d03b4b7adbdcc2b499f044fc (patch) | |
tree | 7c8bde21e9c83f62dde9145fd30fdcc47d724706 /utils | |
parent | 9b56cc9361a471a3ce57da4c98f60e377cc43026 (diff) |
Use --style file instead of --style LLVM
LLVM includes .clang-format files which must be respected.
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/arcanist/clang-format.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/arcanist/clang-format.sh b/utils/arcanist/clang-format.sh index 4fa2dd99665a..fba3e2a0fed2 100755 --- a/utils/arcanist/clang-format.sh +++ b/utils/arcanist/clang-format.sh @@ -41,7 +41,7 @@ trap 'cleanup' INT HUP QUIT TERM EXIT if git rev-parse --git-dir >/dev/null; then arc_base_commit=$(arc which --show-base) # An alternative is to use git-clang-format. - >&2 git-clang-format --quiet --force --style LLVM "${arc_base_commit}" + >&2 git-clang-format --quiet --force --style file "${arc_base_commit}" else >&2 echo "repo is expected to be a git directory" fi |