Download mods/diff/hooks/git/argv/git-child-env/git-child-env.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/argv/git-child-env/git-child-env.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/hooks/git/argv/git-child-env/git-child-env.ts
-
curl -L -o git-child-env.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/argv/git-child-env/git-child-env.ts
371 Bytes
| /** | |
| * The environment laid over every git child the plugin spawns: the C | |
| * locale, so `--shortstat` and git's messages parse the same everywhere. | |
| * | |
| * Nothing else is pinned, as for the built-in panel's own diff children: | |
| * a partial clone lazy-fetches as it would for `git diff` at the prompt. | |
| */ | |
| export const GIT_CHILD_ENV = { LC_ALL: 'C', LANGUAGE: '' } as const | |