]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[pre-commit] Remove pass_filenames setting for check-whitespace
authorTom de Vries <tdevries@suse.de>
Wed, 17 Jun 2026 19:40:03 +0000 (21:40 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 17 Jun 2026 19:40:03 +0000 (21:40 +0200)
The pre-commit hook check-whitespace has the following setting:
...
pass_filenames: true
...

Since true is the default for pass_filenames, remove the superfluous setting.

Approved-By: Tom Tromey <tom@tromey.com>
.pre-commit-config.yaml

index e5327cbae76a169cf14a5509d460986cddcf38a6..5be2034b26fccddd8aa415ff5daa9b4a0c1a8e97 100644 (file)
@@ -103,7 +103,6 @@ repos:
       language: unsupported_script
       entry: gdb/contrib/check-whitespace-pre-commit.py
       files: '^(gdb(support|server)?)/.*$'
-      pass_filenames: true
       stages: [pre-commit]
     - id: pre-commit-setup
       name: pre-commit-setup