Skip to content

Commit a0eedef

Browse files
test(cts): silence advice.detachedHead for shallow CTS clone
1 parent d0c9044 commit a0eedef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xtask/src/cts.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ pub fn run_cts(
197197
cmd = cmd.args([
198198
"-c",
199199
"remote.origin.fetch=+refs/heads/gh-pages:refs/remotes/origin/gh-pages",
200+
"-c",
201+
"advice.detachedHead=false",
200202
]);
201203
} else {
202204
log::info!("Cloning full checkout of CTS with revision {cts_revision}");

0 commit comments

Comments
 (0)