mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Remove git_repository field from GitConfig
It is no longer needed after a recent refactoring.
This commit is contained in:
@@ -13,7 +13,6 @@ pub fn suggest(builder: &Builder<'_>, run: bool) {
|
||||
let git_config = builder.config.git_config();
|
||||
let suggestions = builder
|
||||
.tool_cmd(Tool::SuggestTests)
|
||||
.env("SUGGEST_TESTS_GIT_REPOSITORY", git_config.git_repository)
|
||||
.env("SUGGEST_TESTS_NIGHTLY_BRANCH", git_config.nightly_branch)
|
||||
.env("SUGGEST_TESTS_MERGE_COMMIT_EMAIL", git_config.git_merge_commit_email)
|
||||
.run_capture_stdout(builder)
|
||||
|
||||
@@ -2064,7 +2064,6 @@ fn run(self, builder: &Builder<'_>) {
|
||||
}
|
||||
|
||||
let git_config = builder.config.git_config();
|
||||
cmd.arg("--git-repository").arg(git_config.git_repository);
|
||||
cmd.arg("--nightly-branch").arg(git_config.nightly_branch);
|
||||
cmd.arg("--git-merge-commit-email").arg(git_config.git_merge_commit_email);
|
||||
cmd.force_coloring_in_ci();
|
||||
|
||||
@@ -2963,7 +2963,6 @@ pub fn default_codegen_backend(&self, target: TargetSelection) -> Option<String>
|
||||
|
||||
pub fn git_config(&self) -> GitConfig<'_> {
|
||||
GitConfig {
|
||||
git_repository: &self.stage0_metadata.config.git_repository,
|
||||
nightly_branch: &self.stage0_metadata.config.nightly_branch,
|
||||
git_merge_commit_email: &self.stage0_metadata.config.git_merge_commit_email,
|
||||
}
|
||||
|
||||
@@ -135,7 +135,6 @@ fn git_cmd(&self) -> Command {
|
||||
|
||||
fn git_config(&self) -> GitConfig<'_> {
|
||||
GitConfig {
|
||||
git_repository: &self.git_repo,
|
||||
nightly_branch: &self.nightly_branch,
|
||||
git_merge_commit_email: &self.merge_bot_email,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user