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    

Manuel Rego Casasnovas
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-05-31 22:29:12 PDT
Matt Woodrow
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.