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.
1 parent 7ae3f28 commit 696a527Copy full SHA for 696a527
tests/integration.rs
@@ -171,6 +171,11 @@ fn integration_test_rustc() {
171
let st_git_cl = Command::new("git")
172
.args([
173
OsStr::new("clone"),
174
+ // we can't use depth=x because we don't know how far away the master branc tip is from our nightly commit
175
+ // that we need.
176
+ // however, we can still gain a lot by using --filter=tree:0 which is still ~10x faster than a full clone
177
+
178
+ // https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
179
OsStr::new("--filter=tree:0"),
180
OsStr::new(&repo_url),
181
OsStr::new(&repo_dir),
0 commit comments