From d1645f50c97d0d61d1508dfd2a9f0a179a3db873 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sat, 15 Aug 2026 11:37:16 +0200 Subject: [PATCH] Reduce verbosity of commit hook. --- BuildTools/pre-commit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BuildTools/pre-commit b/BuildTools/pre-commit index 5d2522463..4a133d6ac 100755 --- a/BuildTools/pre-commit +++ b/BuildTools/pre-commit @@ -36,11 +36,11 @@ DOTNET_FORMAT="$DOTNET_PATH/dotnet-format$EXE_SUFFIX" "$DOTNET_FORMAT" --version if [ "${1:-}" = "--format" ]; then # called via format.bat - "$DOTNET_FORMAT" whitespace --no-restore --verbosity detailed ILSpy.sln + "$DOTNET_FORMAT" whitespace --no-restore --verbosity normal ILSpy.sln elif git diff --quiet --ignore-submodules; then - "$DOTNET_FORMAT" whitespace --no-restore --verbosity detailed ILSpy.sln + "$DOTNET_FORMAT" whitespace --no-restore --verbosity normal ILSpy.sln git add -u -- \*\*.cs else echo Partial commit: only verifying formatting - exec "$DOTNET_FORMAT" whitespace --verify-no-changes --no-restore --verbosity detailed ILSpy.sln + exec "$DOTNET_FORMAT" whitespace --verify-no-changes --no-restore --verbosity normal ILSpy.sln fi