Title: [289656] trunk/Tools
Revision
289656
Author
[email protected]
Date
2022-02-11 12:07:43 -0800 (Fri, 11 Feb 2022)

Log Message

Git commit message hook should allow source = 'template' case
https://bugs.webkit.org/show_bug.cgi?id=236504
<rdar://problem/88787806>

Reviewed by Tim Horton.

* Scripts/hooks/prepare-commit-msg: 'template' should be handled like 'commit'

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (289655 => 289656)


--- trunk/Tools/ChangeLog	2022-02-11 20:05:04 UTC (rev 289655)
+++ trunk/Tools/ChangeLog	2022-02-11 20:07:43 UTC (rev 289656)
@@ -1,5 +1,15 @@
 2022-02-11  Jonathan Bedard  <[email protected]>
 
+        Git commit message hook should allow source = 'template' case
+        https://bugs.webkit.org/show_bug.cgi?id=236504
+        <rdar://problem/88787806>
+
+        Reviewed by Tim Horton.
+
+        * Scripts/hooks/prepare-commit-msg: 'template' should be handled like 'commit'
+
+2022-02-11  Jonathan Bedard  <[email protected]>
+
         [git-webkit] Reset target branch when landing fails
         https://bugs.webkit.org/show_bug.cgi?id=236110
         <rdar://problem/88463164>

Modified: trunk/Tools/Scripts/hooks/prepare-commit-msg (289655 => 289656)


--- trunk/Tools/Scripts/hooks/prepare-commit-msg	2022-02-11 20:05:04 UTC (rev 289655)
+++ trunk/Tools/Scripts/hooks/prepare-commit-msg	2022-02-11 20:07:43 UTC (rev 289656)
@@ -42,7 +42,7 @@
         return ''
 
 def main(file_name=None, source=None, sha=None):
-    if source and source != 'commit':
+    if source not in (None, 'commit', 'template'):
         return 0
 
     with open(file_name, 'w') as commit_message_file:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to