[binutils-gdb] [pre-commit] Remove pass_filenames setting for check-whitespace

Tom de Vries vries@sourceware.org
Wed Jun 17 19:40:20 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8bbde06fa2a0ac754e6e8e2354e59721ee2c81b3

commit 8bbde06fa2a0ac754e6e8e2354e59721ee2c81b3
Author: Tom de Vries <tdevries@suse.de>
Date:   Wed Jun 17 21:40:03 2026 +0200

    [pre-commit] Remove pass_filenames setting for check-whitespace
    
    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>

Diff:
---
 .pre-commit-config.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e5327cbae76..5be2034b26f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -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


More information about the Binutils-cvs mailing list