Changeset 295362 in webkit
- Timestamp:
- Jun 7, 2022 1:15:44 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/Scripts/hooks/prepare-commit-msg
r295296 r295362 75 75 76 76 def main(file_name=None, source=None, sha=None): 77 if source not in (None, 'commit', 'template'): 77 with open(file_name, 'r') as commit_message_file: 78 content = commit_message_file.read() 79 80 if source not in (None, 'commit', 'template', 'merge'): 81 return 0 82 83 if source == 'merge' and not content.startswith('Revert'): 78 84 return 0 79 85
Note: See TracChangeset
for help on using the changeset viewer.