about summary refs log tree commit diff
path: root/src/ci/scripts
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-09-12 03:44:55 -0700
committerGitHub <noreply@github.com>2021-09-12 03:44:55 -0700
commita8e3afe3720cc4772aa49e1f7f494c60b81f07a1 (patch)
tree704b25c693bbe7cdde35906fc1c3558a539f595a /src/ci/scripts
parentbb5ca58d290791c01d7bb40fd59f5a3275603310 (diff)
parent76e09eb87a0ae8dbbd54d14ba4d5186ffbd1513a (diff)
downloadrust-a8e3afe3720cc4772aa49e1f7f494c60b81f07a1.tar.gz
rust-a8e3afe3720cc4772aa49e1f7f494c60b81f07a1.zip
Rollup merge of #88699 - Mark-Simulacrum:fixes-cherry-picker, r=pietroalbini
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```
Diffstat (limited to 'src/ci/scripts')
-rwxr-xr-xsrc/ci/scripts/verify-backported-commits.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ci/scripts/verify-backported-commits.sh b/src/ci/scripts/verify-backported-commits.sh
index 1023e4b0e28..d3da6d1ac91 100755
--- a/src/ci/scripts/verify-backported-commits.sh
+++ b/src/ci/scripts/verify-backported-commits.sh
@@ -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