Bug 240254

Summary: [GitHub] `git commit` generates a nicely formatted commit log but is missing bug information
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 239082    

Chris Dumez
Reported 2022-05-09 13:20:04 PDT
`git commit` generates a nicely formatted commit log but is missing bug information since there is currently no way to communicate to our tools which bug the commit is for. This means I have to populate the title / bugzilla URL (and potentially radar link) by myself in the commit log when committing. `git-webkit branch -i XXX` takes a bug number but this bug number is not used when the commit log gets generated. I wish there was something like: `git commit -a -bug XXX` So the script could populate by commit log with the bug information for me.
Attachments
Jonathan Bedard
Comment 1 2022-05-10 07:40:21 PDT
Would have to be `git webkit commit -a -bug xxx`, but that seems like a pretty reasonable and easy to implement request.
Radar WebKit Bug Importer
Comment 2 2022-05-10 09:21:15 PDT
Jonathan Bedard
Comment 3 2022-05-10 09:26:08 PDT
EWS
Comment 4 2022-05-10 11:04:49 PDT
Committed r294011 (250445@main): <https://commits.webkit.org/250445@main> Reviewed commits have been landed. Closing PR #577 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.