Be explicit about clang-format.sh operating on staged files

master
Karl F 2021-01-03 19:28:27 +01:00 committed by Webster Sheets
parent 0ff82d38eb
commit 2c4fb54afd
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ else
GIT_DIFF_TOOL="git diff-index --cached"
fi
# Allow manually specifiying the files.
# Allow manually specifying the files.
FILES="$@"
# Otherwise, get a list of all files changed between our RANGE_BASE and the current HEAD
@ -40,7 +40,7 @@ if [[ -z $FILES ]]; then
fi
if [[ -z $PATCH_MODE ]]; then
echo -e "Checking files:"
echo -e "Checking staged files to be committed:"
for file in $FILES; do
echo -e "\t$file"
done