From: Tom de Vries Date: Mon, 10 Nov 2025 17:21:39 +0000 (+0100) Subject: [pre-commit] Set verbose=false for check-whitespace X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b45d74d79cddf7b3f8fcfab29aa314b09b18989;p=thirdparty%2Fbinutils-gdb.git [pre-commit] Set verbose=false for check-whitespace Currently, the pre-commit check check-whitespace has verbose=true: ... $ pre-commit run --all-files check-whitespace check-whitespace........................................................Passed - hook id: check-whitespace - duration: 0.3s $ ... That's not necessary, since: - check-whitespace has no output if the check passes, and - pre-commit shows the output anyway if the check fails. Fix this by removing the verbose setting, getting us instead: ... $ pre-commit run --all-files check-whitespace check-whitespace........................................................Passed $ ... Approved-By: Simon Marchi --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d26e55d33c5..874518217f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -103,7 +103,6 @@ repos: entry: gdb/contrib/check-whitespace-pre-commit.sh files: '^(gdb(support|server)?)/.*$' pass_filenames: true - verbose: true stages: [pre-commit] - repo: https://github.com/nmoroze/tclint rev: v0.6.1