]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #88699 - Mark-Simulacrum:fixes-cherry-picker, r=pietroalbini
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 12 Sep 2021 10:44:55 +0000 (03:44 -0700)
committerGitHub <noreply@github.com>
Sun, 12 Sep 2021 10:44:55 +0000 (03:44 -0700)
Remove extra unshallow from cherry-pick checker

This is already done by https://github.com/rust-lang/rust/blob/13db8440bbbe42870bc828d4ec3e965b38670277/src/ci/init_repo.sh#L32-L36 on the beta channel, and git throws an error if you attempt to unshallow an already non-shallow repository.

r? ```@pietroalbini```

src/ci/scripts/verify-backported-commits.sh

index 1023e4b0e2837d2ef4b2a7b4f07fb01cff29a2fc..d3da6d1ac915a3a24dd5ca14f0ef582c20042c8b 100755 (executable)
@@ -18,14 +18,6 @@ verify_backported_commits_main() {
     exit 0
   fi
 
-  echo 'git: unshallowing the repository so we can check commits'
-  git fetch \
-    --no-tags \
-    --no-recurse-submodules \
-    --progress \
-    --prune \
-    --unshallow
-
   if [[ $ci_base_branch == "beta" ]]; then
     verify_cherries master "$BETA_LIMIT" \
       || exit 1