Skip to content

Commit d58de3e

Browse files
committed
Suppress progress notifications for all git commands
1 parent 3fa4eff commit d58de3e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/setup_rust_fork.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -e
33

4-
# CG_CLIF_FORCE_GNU_AS will force usage of as instead of the LLVM backend of rustc as we
4+
# CG_CLIF_FORCE_GNU_AS will force usage of as instead of the LLVM backend of rustc as
55
# the LLVM backend isn't compiled in here.
66
export CG_CLIF_FORCE_GNU_AS=1
77

@@ -11,11 +11,13 @@ export CG_CLIF_FORCE_GNU_AS=1
1111
CG_CLIF_STDLIB_REMAP_PATH_PREFIX=/rustc/FAKE_PREFIX ./y.sh build
1212

1313
echo "[SETUP] Rust fork"
14-
git clone https://github.com/rust-lang/rust.git --filter=tree:0 || true
14+
git clone --quiet https://github.com/rust-lang/rust.git --filter=tree:0 || true
1515
pushd rust
1616
git fetch
17-
git checkout -- .
18-
git checkout "$(rustc -V | cut -d' ' -f3 | tr -d '(')"
17+
git checkout --no-progress -- .
18+
git checkout --no-progress "$(rustc -V | cut -d' ' -f3 | tr -d '(')"
19+
20+
git submodule update --quiet --init src/tools/cargo library/backtrace library/stdarch
1921

2022
git -c user.name=Dummy -c user.email=dummy@example.com -c commit.gpgSign=false \
2123
am ../patches/*-stdlib-*.patch

0 commit comments

Comments
 (0)