Tools/ChangeLog

 12022-02-10 Jonathan Bedard <jbedard@apple.com>
 2
 3 Git commit message hook should allow source = 'template' case
 4 https://bugs.webkit.org/show_bug.cgi?id=236504
 5 <rdar://problem/88787806>
 6
 7 Reviewed by NOBODY (OOPS!).
 8
 9 * Scripts/hooks/prepare-commit-msg: 'template' should be handled like 'commit'
 10
1112022-02-10 Commit Queue <commit-queue@webkit.org>
212
313 Unreviewed, reverting r289525.

Tools/Scripts/hooks/prepare-commit-msg

@@Reviewed by NOBODY (OOPS!).
4242 return ''
4343
4444def main(file_name=None, source=None, sha=None):
45  if source and source != 'commit':
 45 if source not in ('commit', 'template'):
4646 return 0
4747
4848 with open(file_name, 'w') as commit_message_file: