Bug 252177
| Summary: | [git] Respect _ in hooks | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Bedard <jbedard> |
| Component: | Tools / Tests | Assignee: | Jonathan Bedard <jbedard> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jonathan Bedard
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
<rdar://problem/105402860>
Jonathan Bedard
Pull request: https://github.com/WebKit/WebKit/pull/10048
Jonathan Bedard
This is a very bad idea, as it turns out, `_` will be `git-webkit` if `git-webkit` invokes `git`.