Many more git commands now run with a scrubbed environment so stray variables can't redirect them.
What's wrong with this entry?
Many more git call sites now prepend the frozen safety arguments and run with an environment scrubbed of git overrides, closing off paths where inherited env vars could redirect a git command.
- Newly covered call sites include rev-list, ls-files --others --ignored, worktree remove --force, and config core.hooksPath.
- Sanitized environment strips GIT_DIR, GIT_WORK_TREE, GIT_INDEX_FILE, and the GIT_CONFIG_KEY_n / GIT_CONFIG_VALUE_n family, among others.
- Two additional
git diffcall sites now also pass --no-ext-diff and --no-textconv.
core.hooksPath=/dev/null
Strings lifted out of the shipped bundle, so the claim above can be checked against them.