Skip to content
Permalink
Browse files
Generate better ChangeLogs in update-angle script
https://bugs.webkit.org/show_bug.cgi?id=238649

Patch by Kenneth Russell <kbr@chromium.org> on 2022-05-25
Auto-generate the preferred commit message format during ANGLE rolls
into a commit-message.txt file.

Reviewed by Kimmo Kinnunen.

* Tools/Scripts/update-angle:

Canonical link: https://commits.webkit.org/251002@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
kenrussell authored and webkit-commit-queue committed May 26, 2022
1 parent 0e79828 commit bfdd86708b5484a3b34137eb61eb82c520132c2b
Showing 1 changed file with 7 additions and 0 deletions.
@@ -121,6 +121,13 @@ cleanup_after_successful_rebase_and_exit() {
echo "Press Enter to continue after fixing build:"
read -r
regenerate_changes_diff "origin/main"
echo "Generating contents of commit message into commit-message.txt."
echo "Be sure to copy out this file's contents and delete it before committing."
echo "Update ANGLE to $(git log -1 ${COMMIT_HASH} --format=%cs) (${COMMIT_HASH}))" > commit-message.txt
echo "" >> commit-message.txt
echo "Contains upstream commits:" >> commit-message.txt
echo git log --oneline "$PREVIOUS_ANGLE_COMMIT_HASH".."$COMMIT_HASH" --pretty="%h %s" >> commit-message.txt
git log --oneline "$PREVIOUS_ANGLE_COMMIT_HASH".."$COMMIT_HASH" --pretty="%h %s" >> commit-message.txt
echo "Removing temporary git repository from Source/ThirdParty/ANGLE"
rm -rf .git
git add -A .

0 comments on commit bfdd867

Please sign in to comment.