| Summary: | Git commit message hook should allow source = 'template' case | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> | ||||||
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aakash_jain, ap, dewei_zhu, eddy_wong, ryanhaddad, slewis, thorton, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Jonathan Bedard
2022-02-11 07:06:47 PST
Created attachment 451689 [details]
Patch
Comment on attachment 451689 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451689&action=review > Tools/Scripts/hooks/prepare-commit-msg:45 > + if source not in ('commit', 'template'): source could be None too (In reply to eddy_wong from comment #3) > Comment on attachment 451689 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=451689&action=review > > > Tools/Scripts/hooks/prepare-commit-msg:45 > > + if source not in ('commit', 'template'): > > source could be None too Oops, good point, messed that one up.... (as a side note, the case that doesn't fall into any of these categories is the rebase one) Created attachment 451725 [details]
Patch
Committed r289656 (247149@main): <https://commits.webkit.org/247149@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451725 [details]. |