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   

Sam Sneddon [:gsnedders]
Reported 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).
Attachments
Radar WebKit Bug Importer
Comment 1 2021-01-18 08:44:15 PST
Note You need to log in before you can comment on or make changes to this bug.