From 2304a9cb7638140bd839c3d8b001c77ca7c06f21 Mon Sep 17 00:00:00 2001 From: Ada Alakbarova Date: Wed, 23 Apr 2025 00:42:30 +0200 Subject: [PATCH] remove non-existent pathspec from pre-commit hook it was added back in 6035e050e83cc991f94797eef4d720c0b61d8955, at which time there were some files matching it, e.g. https://github.com/rust-lang/rust-clippy/blob/6035e050e83cc991f94797eef4d720c0b61d8955/clippy_lints/src/lib.deprecated.rs --- util/etc/pre-commit.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/util/etc/pre-commit.sh b/util/etc/pre-commit.sh index 5dd2ba3d5f53..528f8953b25d 100755 --- a/util/etc/pre-commit.sh +++ b/util/etc/pre-commit.sh @@ -6,7 +6,6 @@ set -e # Update lints cargo dev update_lints git add clippy_lints/src/lib.rs -git add clippy_lints/src/lib.*.rs # Formatting: # Git will not automatically add the formatted code to the staged changes once