WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
252177
[git] Respect _ in hooks
https://bugs.webkit.org/show_bug.cgi?id=252177
Summary
[git] Respect _ in hooks
Jonathan Bedard
Reported
2023-02-13 10:20:48 PST
When git invokes a hook, it passes the path to the git command used to invoke this hook via the environment varialbe '_'. We should respect this environment variable in our hooks.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-13 10:21:36 PST
<
rdar://problem/105402860
>
Jonathan Bedard
Comment 2
2023-02-13 11:25:56 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10048
Jonathan Bedard
Comment 3
2023-02-13 16:06:40 PST
This is a very bad idea, as it turns out, `_` will be `git-webkit` if `git-webkit` invokes `git`.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug