-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 263641@main (2425de1). rdar://107629444
[git-webkit] Cache filed bug https://bugs.webkit.org/show_bug.cgi?id=255007 rdar://107629444 Reviewed by Elliott Williams. git-webkit branch will file a bug. However, that bug is only picked up in a commit message through environment variables, which means that bugs filed by `git-webkit branch` aren't very useful except when happening through `git-webkit pr`'s invocation of `git-webkit branch`. We have a similar problem when crafting cherry-picks or reverting changes. * Tools/Scripts/hooks/prepare-commit-msg: Pull title, bug and cherry-pick message from `git config` if they aren't available in the environment. * Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py: Add ability to get and set `git config` values. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/branch.py: (Branch.main): Save filed bug into `git config` environment. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/cherry_pick.py: (CherryPick.main): Save cherry-pick pattern and bug details into `git config`, use COMMIT_MESSAGE_BUG instead of GIT_WEBKIT_BUG. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/command.py: (Command.write_branch_variables): Write variable to `git config`'s branch specific namespace. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py: (Revert.revert_commit): Save filed bug into `git config` environment. Canonical link: https://commits.webkit.org/263641@main Canonical link: https://commits.webkit.org/259548.731@safari-7615-branch
- Loading branch information
1 parent
c123784
commit 22f78dd
Showing
8 changed files
with
83 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters