File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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+ for commit in " ${! 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
You can’t perform that action at this time.
0 commit comments