I use many Xcodes, and frequently delete them; the hardcoded path in .git/hooks/pre-commit then needs to be updated (or `git webkit setup` re-run). Shouldn't this use xcrun, or something?
We cannot just use xcrun, because this code is not Mac only. But it's not very clear to me why we cannot just use "git", and rely on the PATH.
<rdar://problem/94435371>
Pull request: https://github.com/WebKit/WebKit/pull/1324
Committed r295288 (251334@main): <https://commits.webkit.org/251334@main> Reviewed commits have been landed. Closing PR #1324 and removing active labels.