[webkit-changes] [WebKit/WebKit] a4e364: [git-webkit] `git revert` does not produce a meani...

Brianna Fan noreply at github.com
Tue Nov 7 22:00:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a4e364130e7c85357bf8a04896e38fa7f89fe9b9
      https://github.com/WebKit/WebKit/commit/a4e364130e7c85357bf8a04896e38fa7f89fe9b9
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M Tools/Scripts/hooks/prepare-commit-msg
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/revert_unittest.py

  Log Message:
  -----------
  [git-webkit] `git revert` does not produce a meaningful commit message
https://bugs.webkit.org/show_bug.cgi?id=243947
rdar://problem/98992367

Reviewed by Jonathan Bedard.

Changes to logic so git revert is no longer a blank template.
Also prevents git-webkit revert from affecting future commits on main.
A better commit message for git revert is in the works!

* Tools/Scripts/hooks/prepare-commit-msg:
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py:
(Revert):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/revert_unittest.py:
(TestRevert.test_github):
(TestRevert.test_github_two_step):
(test_update):

Canonical link: https://commits.webkit.org/270375@main




More information about the webkit-changes mailing list