-
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.
[webkitscmpy] Collect diff from GitHub remote repository
https://bugs.webkit.org/show_bug.cgi?id=265590 rdar://118993239 Reviewed by Dewei Zhu. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py: (GitHub.commit): 'HEAD' in GitHub means "latest commit on the default branch". (GitHub._diff_response): Return a response with a mock text diff. (GitHub.request): Respect the 'application/vnd.github.diff' header. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: (GitHub): (GitHub.diff): Given a commit or commit range, return a line-by-line diff of the provided range. If the caller requests it, include the commit messages for the specified commits in the same patch format used by 'git format-patch'. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: Canonical link: https://commits.webkit.org/271687@main
- Loading branch information
1 parent
bb91f7e
commit 912bf75
Showing
3 changed files
with
121 additions
and
2 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