After deleting some function in a commit, using the following command won't show the deleted functions in the list of modified functions.
$ prepare-ChangeLog --no-write --no-style --only-files -g HEAD
The cause of the bug is that the originalFile() function will pick the incorrect reference version of the file to compare with the version of the commit.
Created attachment 439313 [details]
Created attachment 439317 [details]
Committed r283112 (242170@main): <https://commits.webkit.org/242170@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 439317 [details].
When doing Tools/Scripts/prepare-ChangeLog -g HEAD~1..HEAD -b XYZ, I now get some errors like:
Use of uninitialized value $first_line in pattern match (m//) at Tools/Scripts/prepare-ChangeLog line 783.
Reverting the commit removes the error.