Skip to content

Commit 10693b2

Browse files
committed
Back to rebase
1 parent 7b2f9c9 commit 10693b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-subtree.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)