Certain Git tools change what source is in our hook, we should support those tools.
<rdar://problem/88787806>
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].