Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit48c4859

Browse files
stirbymafredri
andauthored
chore(scripts): fix cherry-pick check incheck_commit_metadata.sh (#13980) (#13994)
(cherry picked from commit5a4dbcf)Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parent5b12020 commit48c4859

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎scripts/release/check_commit_metadata.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ main() {
126126
log"Found renamed cherry-pick commit${commit1} ->${renamed}"
127127
renamed_cherry_pick_commits[${commit1}]=${renamed}
128128
renamed_cherry_pick_commits[${renamed}]=${commit1}
129+
i=$((i-1))
129130
continue
130131
fi
131132

@@ -147,6 +148,11 @@ main() {
147148
log"Found matching cherry-pick commit${commit} ->${renamed_cherry_pick_commits[${commit}]}"
148149
done
149150

151+
# Merge the two maps.
152+
forcommitin"${!renamed_cherry_pick_commits[@]}";do
153+
cherry_pick_commits[${commit}]=${renamed_cherry_pick_commits[${commit}]}
154+
done
155+
150156
# Get abbreviated and full commit hashes and titles for each commit.
151157
git_log_out="$(git log --no-merges --left-right --pretty=format:"%m %h %H %s""${range}")"
152158
if [[-z${git_log_out} ]];then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp