Files
hermes-agent/tests/hermes_platform
BearHuddleston ccca269f46 fix(platform): refuse only the CLT stub at bare git launches
is_usable_git_command, which every bare-argv guard asks (bounded probes,
source_check, version_info, web_git), refused a git the lookup could not
find, as if it were the stub. A bare launch searches PATH its own way:
CreateProcess searches the parent's PATH rather than the child env's, and
execvp follows a relative entry from the child's cwd. So on Windows, a
child env whose PATH lacked git refused a git the launch would have found.

Refuse only a confirmed macOS CLT stub and leave a git that cannot be found
to the launch to report, as before the guard. resolve_usable_git and its
callers, which launch the absolute path it returns, are unchanged.
2026-11-25 04:40:28 +00:00
..