about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-04-23 00:42:30 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-04-23 00:47:43 +0200
commit2304a9cb7638140bd839c3d8b001c77ca7c06f21 (patch)
tree386315f78552b7bdb93e513d400accd4d7484007
parent2422f0b9acd5e7876f7a3e270dfb74cde972ebcf (diff)
downloadrust-2304a9cb7638140bd839c3d8b001c77ca7c06f21.tar.gz
rust-2304a9cb7638140bd839c3d8b001c77ca7c06f21.zip
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
-rwxr-xr-xutil/etc/pre-commit.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/etc/pre-commit.sh b/util/etc/pre-commit.sh
index 5dd2ba3d5f5..528f8953b25 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