summaryrefslogtreecommitdiff
path: root/scripts/clang-format-diff.sh
Commit message (Collapse)AuthorAgeFilesLines
* Clang-format c/cpp files in test directory (#4192)Heejin Ahn2021-09-291-2/+2
| | | | | | | | | This clang-formats c/cpp files in test/ directory, and updates clang-format-diff.sh so that it does not ignore test/ directory anymore. bigswitch.cpp is excluded from formatting, because there are big commented-out code blocks, and apparently clang-format messes up formatting in them. Also to make matters worse, different clang-format versions do different things on those commented-out code blocks.
* Allow clang-format-diff/clang-tidy-diff to take branch as argument (#3711)Sam Clegg2021-03-221-10/+5
| | | | | Also update clang-format-diff.sh to match recent changes to branch name and CI system (these changes mirror those already made to clang-tidy-diff.sh).
* Add `-o pipefail` to shell scripts (#3706)Sam Clegg2021-03-191-0/+1
| | | | This means that if any command in a pipelines fails the whole pipeline will also fail.
* Replace "master" with "main" in scripts and docs (#3502)Thomas Lively2021-01-191-1/+1
| | | | We have updated the default branch name from "master" to "main." This PR updates scripts, configurations, and docs to reflect this change.
* Move scripts in the `scripts` directory (#2735)Sam Clegg2020-04-091-0/+28