From fa2d5b91dc390a11262859e5309351ba58842901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde@gmail.com>
Date: Sun, 9 Apr 2017 15:02:09 +0200
Subject: squish: Update to upstream version 1.15

Also fix clang-format pre-commit hook to ignore thirdparty files.
---
 misc/hooks/pre-commit-clang-format | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'misc/hooks/pre-commit-clang-format')

diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format
index 88c43fc1f5..0971ebe23a 100755
--- a/misc/hooks/pre-commit-clang-format
+++ b/misc/hooks/pre-commit-clang-format
@@ -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
-- 
cgit v1.2.3