clang-format prints its version

This helps debugging when result when local and remote runs disagree,
so when looking at the log of the github action, we see which version
of clang it used.
master
Karl F 2021-01-03 19:27:31 +01:00 committed by Webster Sheets
parent 54dba831f1
commit 0ff82d38eb
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
clang-format --version
CLANG_FORMAT=$(which clang-format)
# if PATCH_MODE is set to 0, then set it to the empty string so $PATCH_MODE continues to work