diff options
| author | Eric Huss <eric@huss.org> | 2024-07-25 16:13:01 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2024-07-25 16:13:01 -0700 |
| commit | 2c6222b3f290ebb9b818253e8f0dc6050348a859 (patch) | |
| tree | 8456707c978b02838ec5b5cbaf03efa98e94a38f /src | |
| parent | 6642f8dcfcd44d7d4723c002b204e22b3255d70e (diff) | |
Clarify comment on update_existing_submodules
This felt like an important point to me.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs index e461105aba2..ab640bf39aa 100644 --- a/src/bootstrap/src/lib.rs +++ b/src/bootstrap/src/lib.rs @@ -583,7 +583,8 @@ impl Build { /// If any submodule has been initialized already, sync it unconditionally. /// This avoids contributors checking in a submodule change by accident. fn update_existing_submodules(&self) { - // Avoid running git when there isn't a git checkout. + // Avoid running git when there isn't a git checkout, or the user has + // explicitly disabled submodules in `config.toml`. if !self.config.submodules(self.rust_info()) { return; } |
