Skip to content

Commit ffe312e

Browse files
committed
Ignore global git hooks when importing rust-lang/rust git repo
These may cause tests to fail. Disable them.
1 parent 728bc27 commit ffe312e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_system/prepare.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ fn init_git_repo(repo_dir: &Path) {
186186
spawn_and_wait(git_add_cmd);
187187

188188
let mut git_commit_cmd = git_command(repo_dir, "commit");
189-
git_commit_cmd.arg("-m").arg("Initial commit").arg("-q");
189+
git_commit_cmd.arg("-m").arg("Initial commit").arg("-q").arg("--no-verify");
190190
spawn_and_wait(git_commit_cmd);
191191
}
192192

0 commit comments

Comments
 (0)