File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ main() {
126
126
log " Found renamed cherry-pick commit ${commit1} -> ${renamed} "
127
127
renamed_cherry_pick_commits[${commit1} ]=${renamed}
128
128
renamed_cherry_pick_commits[${renamed} ]=${commit1}
129
+ i=$(( i - 1 ))
129
130
continue
130
131
fi
131
132
@@ -147,6 +148,11 @@ main() {
147
148
log " Found matching cherry-pick commit ${commit} -> ${renamed_cherry_pick_commits[${commit}]} "
148
149
done
149
150
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
+
150
156
# Get abbreviated and full commit hashes and titles for each commit.
151
157
git_log_out=" $( git log --no-merges --left-right --pretty=format:" %m %h %H %s" " ${range} " ) "
152
158
if [[ -z ${git_log_out} ]]; then
You can’t perform that action at this time.
0 commit comments