We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3025984 commit 23973b8Copy full SHA for 23973b8
.github/workflows/clang-format.yml
@@ -43,4 +43,8 @@ jobs:
43
-c color.diff.whitespace='red reverse' \
44
clang-format-15 --diff --binary clang-format-15 --commit $PR_BASE -- include/ lib/ || \
45
(echo "Please run the following git-clang-format locally to fix the formatting: \n
46
- git clang-format origin/main -- include/ lib/" && exit 1)
+ git-clang-format HEAD~\n
47
+ for multiple commits we should place the formatting changes in the related commit with:\n
48
+ \t\tgit rebase -i -x \"git-clang-format-15 main && git commit -a --allow-empty --fixup=HEAD\" --strategy-option=theirs origin/main\n
49
+ \t\t Then inspect the results with: git log --oneline\n
50
+ \t\t Then squash without poluting the history with: git rebase --autosquash -i main\n" && exit 1)
0 commit comments