1
Fork 0

Ignore global git hooks when importing rust-lang/rust git repo

These may cause tests to fail. Disable them.
This commit is contained in:
jyn 2025-01-20 17:52:55 -05:00
parent 728bc27f32
commit ffe312e675

View file

@ -186,7 +186,7 @@ fn init_git_repo(repo_dir: &Path) {
spawn_and_wait(git_add_cmd); spawn_and_wait(git_add_cmd);
let mut git_commit_cmd = git_command(repo_dir, "commit"); 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); spawn_and_wait(git_commit_cmd);
} }