diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-03-27 09:11:26 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-05-15 10:42:28 +0000 |
commit | 9d46982641e0584c61a9b3ccc5f0ae43fe0b68ce (patch) | |
tree | 040261f3cc03497d21b46d4354158a405d79af13 /git-hooks/sanitize-commit | |
parent | 5d572251d64feb8c2dcb3df6552bad198e98d0c8 (diff) | |
download | qtrepotools-master.tar.gz |
The top-level LICENSES directory is reserved for standard license texts.
It does not make much sense to complain about spelling there
(for instance licence -> license)
Change-Id: Id6eb682a71d7188a0b36ddf6e8601913f277d611
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'git-hooks/sanitize-commit')
-rwxr-xr-x | git-hooks/sanitize-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index 1a42fcf..7617ad4 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -918,7 +918,7 @@ while (<DIFF>) { $clike = ($file =~ /\.(c|cc|cpp|c\+\+|cxx|qdoc|m|mm|h|hpp|hxx|cs|java|js|qs|qml|g|y|ypp|pl|glsl)$/i); $qmake = ($file =~ /\.pr[filo]$/i); $is_bin = ($file =~ /\.(ps|pdf)$/); - $foreign = $is_bin || ($file =~ /(^|\/)3rdparty\//); + $foreign = $is_bin || ($file =~ /(^|\/)3rdparty\//) || ($file =~ /^LICENSES\//); $new_file = 0; $maybe_bin = 0; $is_special = 0; |