We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Config::last_modified_commit
1 parent 55b7f8e commit edcf945Copy full SHA for edcf945
src/bootstrap/src/core/config/config.rs
@@ -2862,16 +2862,9 @@ impl Config {
2862
crate::exit!(1);
2863
}
2864
2865
- // Warn if there were changes to the compiler or standard library since the ancestor commit.
2866
let mut git = helpers::git(Some(&self.src));
2867
git.args(["diff-index", "--quiet", &commit, "--"]);
2868
-
2869
- // Handle running from a directory other than the top level
2870
- let top_level = &self.src;
2871
2872
- for path in modified_paths {
2873
- git.arg(top_level.join(path));
2874
- }
+ git.args(modified_paths);
2875
2876
let has_changes = !t!(git.as_command_mut().status()).success();
2877
if has_changes {
0 commit comments