From ffe312e6750aad2c0bd13ae612b94bdc8e9a06ab Mon Sep 17 00:00:00 2001 From: jyn Date: Mon, 20 Jan 2025 17:52:55 -0500 Subject: [PATCH] Ignore global git hooks when importing rust-lang/rust git repo These may cause tests to fail. Disable them. --- build_system/prepare.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_system/prepare.rs b/build_system/prepare.rs index a4e9cb5f5..11f73bdb6 100644 --- a/build_system/prepare.rs +++ b/build_system/prepare.rs @@ -186,7 +186,7 @@ fn init_git_repo(repo_dir: &Path) { spawn_and_wait(git_add_cmd); let mut git_commit_cmd = git_command(repo_dir, "commit"); - git_commit_cmd.arg("-m").arg("Initial commit").arg("-q"); + git_commit_cmd.arg("-m").arg("Initial commit").arg("-q").arg("--no-verify"); spawn_and_wait(git_commit_cmd); }