diff options
-rwxr-xr-x | tools/ftfy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ftfy.sh b/tools/ftfy.sh index 1f41fe76b..07be5b7a8 100755 --- a/tools/ftfy.sh +++ b/tools/ftfy.sh @@ -113,7 +113,7 @@ cd "$(git rev-parse --show-toplevel)" git show > "${ORIG_DIFF}" # Apply the style guide on new and modified files and collect its diff -for f in $(git diff HEAD^ --name-only -M90 --diff-filter=AM +for f in $(git diff HEAD^ --name-only -M90 --diff-filter=AM \ | grep '\.[ch]$'); do case "$f" in third_party/*) continue;; |