squish: Update to upstream version 1.15

Also fix clang-format pre-commit hook to ignore thirdparty files.
This commit is contained in:
Rémi Verschelde
2017-04-09 15:02:09 +02:00
parent 3fd10ff6f0
commit fa2d5b91dc
4 changed files with 31 additions and 9 deletions

View File

@ -82,6 +82,11 @@ $DELETE_OLD_PATCHES && rm -f /tmp/$prefix*.patch
# create one patch containing all changes to the files
git diff-index --cached --diff-filter=ACMR --name-only $against -- | while read file;
do
# ignore thirdparty files
if grep -q "thirdparty" <<< $file; then
continue;
fi
# ignore file if we do check for file extensions and the file
# does not match any of the extensions specified in $FILE_EXTS
if $PARSE_EXTS && ! matches_extension "$file"; then