File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,15 @@ jobs:
7070 cd ../verify-rust-std
7171 git remote add rust-filtered ../rust-tmp/
7272 git fetch rust-filtered
73- git checkout -t - b update-subtree/library origin /subtree/library
73+ git checkout -b update-subtree/library rust-filtered /subtree/library
7474 SUBTREE_HEAD_MSG=$(git log --format=%s -n 1 origin/subtree/library)
7575 UPSTREAM_FROM=$(git log --grep="${SUBTREE_HEAD_MSG}" -n 1 --format=%H rust-filtered/subtree/library)
7676 UPSTREAM_HEAD=$(git log --format=%H -n 1 rust-filtered/subtree/library)
7777 if [ "${UPSTREAM_HEAD}" = "${UPSTREAM_FROM}" ]; then
78- echo "Nothing to cherry-pick , ${UPSTREAM_FROM} matches ${UPSTREAM_HEAD} (${SUBTREE_HEAD_MSG})"
78+ echo "Nothing to do , ${UPSTREAM_FROM} matches ${UPSTREAM_HEAD} (${SUBTREE_HEAD_MSG})"
7979 echo "MERGE_CONFLICTS=noop" >> $GITHUB_ENV
8080 else
81- git -c user.name=gitbot -c user.email=git@bot cherry-pick ${UPSTREAM_FROM}..rust-filtered /subtree/library
81+ git -c user.name=gitbot -c user.email=git@bot rebase origin /subtree/library
8282 echo "MERGE_CONFLICTS=maybe" >> $GITHUB_ENV
8383 fi
8484
You can’t perform that action at this time.
0 commit comments