Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3aa38b6cb9f2d813b108cb39d90ee2b5d7a2cdf3
      
https://github.com/WebKit/WebKit/commit/3aa38b6cb9f2d813b108cb39d90ee2b5d7a2cdf3
  Author: Sam Sneddon <gsnedd...@apple.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M Tools/Scripts/hooks/pre-commit
    M Tools/Scripts/hooks/pre-push
    M Tools/Scripts/hooks/prepare-commit-msg
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py

  Log Message:
  -----------
  [git-webkit] Avoid hardcoding working tree path in hooks
https://bugs.webkit.org/show_bug.cgi?id=259753
rdar://problem/113294324

Reviewed by Jonathan Bedard.

This relies on git rev-parse --show-toplevel to instead find the
top-level directory of the working tree, and just stores the path from
there in the hooks.

* Tools/Scripts/hooks/pre-commit:
* Tools/Scripts/hooks/pre-push:
* Tools/Scripts/hooks/prepare-commit-msg:
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_hooks.py:
(InstallHooks.main):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to