Skip to content

Commit 696a527

Browse files
committed
comment
1 parent 7ae3f28 commit 696a527

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ fn integration_test_rustc() {
171171
let st_git_cl = Command::new("git")
172172
.args([
173173
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/
174179
OsStr::new("--filter=tree:0"),
175180
OsStr::new(&repo_url),
176181
OsStr::new(&repo_dir),

0 commit comments

Comments
 (0)