Skip to content

Commit 3f7cbaf

Browse files
authored
format check: Show the list of files to be checked (KhronosGroup#6088)
1 parent a871fc4 commit 3f7cbaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/check_code_format.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ if [ -z "${FILES_TO_CHECK}" ]; then
4646
echo "No source code to check for formatting."
4747
exit 0
4848
fi
49+
echo "Checking Formatting for the following files"
50+
echo "${FILES_TO_CHECK}"
51+
echo
4952

5053
FORMAT_DIFF=$(git diff -U0 ${BASE_BRANCH} -- ${FILES_TO_CHECK} | python3 "${CLANG_FORMAT_DIFF}" -p1 -style=file -binary "$CLANG_FORMAT")
5154

0 commit comments

Comments
 (0)