diff options
author | Even Rouault <even.rouault@spatialys.com> | 2022-12-10 14:02:22 +0100 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2022-12-10 14:20:06 +0100 |
commit | ac45771ea43551e1f66685908dc42c676bef8baf (patch) | |
tree | b9fda83b4e3b1cb21dbb0a8329b684a3f7727d42 | |
parent | 59b6cd308ae6b340aa075ea42860df75cad7ccac (diff) | |
download | libtiff-git-ac45771ea43551e1f66685908dc42c676bef8baf.tar.gz |
Exclude reformatting of tiffvers.h which breaks version detection for FindTIFF.cmake
-rw-r--r-- | .pre-commit-config.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27aba544..dbad088d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,11 @@ repos: rev: 'v15.0.4' hooks: - id: clang-format + # tif_fax3sm.c is a generated file + # tiffvers.h as well, and its formatting is sensitive for + # FindTIFF.cmake to detect the version number exclude: > (?x)^( - libtiff/tif_fax3sm.c + libtiff/tif_fax3sm.c| + libtiff/tiffvers.h ) |