Bug 220511

Summary: Use/recommend .git/hooks/prepare-commit-msg for commit message generation
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Sam Sneddon [:gsnedders] 2021-01-11 08:43:30 PST
Currently on the wiki (on https://trac.webkit.org/wiki/UsingGitWithWebKit) we recommend setting the core.editor config variable to generate commit messages.

It would seem better to not override the editor configuration, but to instead use the hook that git provides for such tasks (prepare-commit-msg). We will need some level of complexity in the script to handle the different sources of commit message (i.e., the second argument to the hook).
Comment 1 Radar WebKit Bug Importer 2021-01-18 08:44:15 PST
<rdar://problem/73324563>