spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / git / argv / git-child-env / git-child-env.ts
8 lines · 371 BRaw
1/**
2 * The environment laid over every git child the plugin spawns: the C
3 * locale, so `--shortstat` and git's messages parse the same everywhere.
4 *
5 * Nothing else is pinned, as for the built-in panel's own diff children:
6 * a partial clone lazy-fetches as it would for `git diff` at the prompt.
7 */
8export const GIT_CHILD_ENV = { LC_ALL: 'C', LANGUAGE: '' } as const