[webkit-changes] [WebKit/WebKit] 6a5dbe: [git-webkit] Rely on cache when identifier and bra...

Jonathan Bedard noreply at github.com
Mon Oct 2 14:55:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a5dbe08f7602747c97729ab14254ce836ad4649
      https://github.com/WebKit/WebKit/commit/6a5dbe08f7602747c97729ab14254ce836ad4649
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py

  Log Message:
  -----------
  [git-webkit] Rely on cache when identifier and branch specified
https://bugs.webkit.org/show_bug.cgi?id=262504
rdar://116366226

Reviewed by Aakash Jain.

The 'find' function is used by `git-webkit` and commits.webkit.org to
convert a user provided string into a Commit object. When that string
is an identifier, we split the identifier into it's composite parts and
pass them to the 'commit' function. Ensure we attempt to use our cache
in that situation.

* Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:
(Git.commit): Attempt to use cache when identifier is integer.

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




More information about the webkit-changes mailing list