Bug 240899

Summary: Amending a commit should update changed files and functions in commit message
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, ddkilzer, jbedard, mattwoodrow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 239082    

Description Manuel Rego Casasnovas 2022-05-24 22:29:01 PDT
Not sure if via git-webkit script or with a different tool, but if you ammend a local commit, I didn't find a way to regenerate the list of modified files that should be included in the commit message.

The only way I found is to "git reset --soft HEAD^" and commit again.

But I believe there should be a simpler way to do that.
Comment 1 Radar WebKit Bug Importer 2022-05-31 22:29:12 PDT
<rdar://problem/94200273>
Comment 2 Matt Woodrow 2022-10-11 20:14:49 PDT
I've updated the commit hook now, so if you do `git commit --amend` it should show the full list of modified files in the commented out section of the commit editor.