You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/release/check_commit_metadata.sh
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -122,20 +122,19 @@ main() {
122
122
fi
123
123
124
124
if [[${title1}!="${title2}" ]];then
125
-
log"Invariant failed, cherry-picked commits have different titles:${title1} !=${title2}, attempting to check commit body for cherry-pick information..."
125
+
log"Invariant failed, cherry-picked commits have different titles:\"${title1%$'\n'}\" !=\"${title2%$'\n'}\", attempting to check commit body for cherry-pick information..."
126
126
127
127
renamed=$(git show"${commit1}"| sed -ne's/.*cherry picked from commit \([0-9a-f]*\).*/\1/p')