mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
Merge pull request #1556 from jyn514/git-hooks
Ignore global git hooks when importing rust-lang/rust git repo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user