about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-03-12 13:08:50 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-03-12 13:08:50 +0000
commitd2b328e6b3a4cd42b85a289ce3285ca0ac461e7c (patch)
treee70b7e49edbe777072eaf48bbe13741407ea0a69
parent4ca551cf41d8273a2829f19a8e802fb557f14d6f (diff)
downloadrust-d2b328e6b3a4cd42b85a289ce3285ca0ac461e7c.tar.gz
rust-d2b328e6b3a4cd42b85a289ce3285ca0ac461e7c.zip
Reduce verbosity of ./scripts/rustup.sh pull
-rwxr-xr-xscripts/rustup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rustup.sh b/scripts/rustup.sh
index 355282911c2..152c243aa6a 100755
--- a/scripts/rustup.sh
+++ b/scripts/rustup.sh
@@ -64,7 +64,7 @@ case $1 in
         cg_clif=$(pwd)
         pushd ../rust
         git fetch origin master
-        git checkout "$RUST_VERS"
+        git -c advice.detachedHead=false checkout "$RUST_VERS"
         "$cg_clif/git-fixed-subtree.sh" push --prefix=compiler/rustc_codegen_cranelift/ "$cg_clif" sync_from_rust
         popd
         git merge sync_from_rust -m "Sync from rust $RUST_VERS"