-
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 277213@main (3608a48). rdar://118901053
[webkitscmpy] Optionally include commit message in diff https://bugs.webkit.org/show_bug.cgi?id=265481 rdar://118901053 Reviewed by Dewei Zhu. Programs generating diffs may want to include commit messages in patch format. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: (Git.diff): Return lines in a diff, use format-patch if caller requests commit message be included. (Git.diff_lines): Renamed 'diff'. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/scm.py: (Scm.diff): Added. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py: * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/land.py: (Land.main): Call 'diff' instead of 'diff_lines' * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: Canonical link: https://commits.webkit.org/277213@main Canonical link: https://commits.webkit.org/272448.903@safari-7618-branch
- Loading branch information
1 parent
907ee0e
commit 84e6be5
Showing
5 changed files
with
79 additions
and
12 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