about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-01-10 20:35:34 -0600
committerbinarycat <binarycat@envs.net>2025-01-10 20:35:34 -0600
commit60cbd749f3cfb2c717a32788bca010b441818bae (patch)
treeff390588fd1cf606a64aa4dfe5baada8ff361859
parente1772e723855709d0debd7a4334f03584423f192 (diff)
downloadrust-60cbd749f3cfb2c717a32788bca010b441818bae.tar.gz
rust-60cbd749f3cfb2c717a32788bca010b441818bae.zip
never print the warning on CI
-rw-r--r--src/bootstrap/src/core/build_steps/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/format.rs b/src/bootstrap/src/core/build_steps/format.rs
index 95cf55d2fcd..590da1fb514 100644
--- a/src/bootstrap/src/core/build_steps/format.rs
+++ b/src/bootstrap/src/core/build_steps/format.rs
@@ -114,7 +114,7 @@ fn print_paths(verb: &str, adjective: Option<&str>, paths: &[String]) {
     } else {
         println!("fmt: {verb} {len} {adjective}files");
     }
-    if len > 1000 {
+    if len > 1000 && !CiEnv::is_ci() {
         println!("hint: if this number seems too high, try running `git fetch origin master");
     }
 }