RESOLVED FIXED315286
`git webkit pr` fails if a global `format` is defined
https://bugs.webkit.org/show_bug.cgi?id=315286
Summary `git webkit pr` fails if a global `format` is defined
Devin Rousso
Reported 2026-05-21 08:08:39 PDT
my global `.gitconfig` has `format:%C(yellow)%h%Creset %C(cyan)%cd%Creset %C(magenta)%an%Creset %s %C(yellow)%d%Creset` this messes with the info expected by `webkitscmpy.Git.commit` ``` Traceback (most recent call last): File ".../WebKit/Tools/Scripts/git-webkit", line 65, in <module> sys.exit(program.main( File ".../WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py", line 187, in main return parsed.main( File ".../WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 816, in main branch_point = cls.pull_request_branch_point(repository, args, **kwargs) File ".../WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 315, in pull_request_branch_point args.issue = cls.issue_from_commits(repository, source_remote, branch_point) File ".../WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py", line 202, in issue_from_commits head = repository.commit(include_log=True, include_identifier=False) File ".../WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 920, in commit raise self.Exception('Invalid commit hash in git log') webkitscmpy.scm_base.Exception: Invalid commit hash in git log ```
Attachments
Devin Rousso
Comment 1 2026-05-21 08:10:20 PDT
EWS
Comment 2 2026-05-21 18:27:35 PDT
Committed 313699@main (6552dc7d1aa7): <https://commits.webkit.org/313699@main> Reviewed commits have been landed. Closing PR #65411 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-05-21 18:28:12 PDT
Note You need to log in before you can comment on or make changes to this bug.