Creating a commit with some changes unstaged still results in those changes being included in the generated commit message. I think we need to pass `--git-index` to `prepare-ChangeLog` in order to only create a commit message template from the staged files.
<rdar://problem/95940276>
Somewhat relatedly, when using `git commit --amend` to edit a commit, the provided list of changed files (as # lines) only contains the newly modified files. For my usage, it'd probably be easier if it just gave the full set of changes, so that I can replace the set in the existing commit message as a whole, rather than merging in line-by-line. I guess providing both would be the best of both worlds?
Pull request: https://github.com/WebKit/WebKit/pull/2764
Committed 254260@main (b4f3e7d2afaf): <https://commits.webkit.org/254260@main> Reviewed commits have been landed. Closing PR #2764 and removing active labels.