Bug 255121

Summary: [prepare-commit-msg] Fix 'git commit --reedit-message'
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jonathan Bedard 2023-04-06 15:02:41 PDT
While 'git commit --amend' works, that's only because we hard-code HEAD in our prepare-commit-msg hook. We should instead use the argument 'git commit' is providing us.
Comment 1 Radar WebKit Bug Importer 2023-04-06 15:02:56 PDT
<rdar://problem/107729416>
Comment 2 Jonathan Bedard 2023-04-06 15:06:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12480
Comment 3 EWS 2023-04-06 15:12:21 PDT
Committed 262688@main (ba739f2564d7): <https://commits.webkit.org/262688@main>

Reviewed commits have been landed. Closing PR #12480 and removing active labels.