about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-21 08:27:02 +0100
committerGitHub <noreply@github.com>2025-01-21 08:27:02 +0100
commitadcd89ab46d0d4c8d6dbe45a8f21ddbd565b06ac (patch)
treedc4995e3cb838b350a12fc387871399ec6c51705
parent728bc27f32c05ac8a9b5eb33fd101e479072984f (diff)
parentffe312e6750aad2c0bd13ae612b94bdc8e9a06ab (diff)
downloadrust-adcd89ab46d0d4c8d6dbe45a8f21ddbd565b06ac.tar.gz
rust-adcd89ab46d0d4c8d6dbe45a8f21ddbd565b06ac.zip
Merge pull request #1556 from jyn514/git-hooks
Ignore global git hooks when importing rust-lang/rust git repo
-rw-r--r--build_system/prepare.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_system/prepare.rs b/build_system/prepare.rs
index a4e9cb5f5c8..11f73bdb61f 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);
 }