{"name":"LC_ALL","slug":"lc-all","family":"env","title":"Environment variables","noun":"environment variable","description":"Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.","description_source":"entry","described_by":{"version":"2.1.234","anchor":"inline-policy-helpers-run-with-a-scrubbed-environment-and-a-"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.282","released_at":"2026-09-24 15:56:22","spans":2}},"aliases":[],"entries":[{"version":"2.1.309","anchor":"git-helpers-now-use-a-sanitized-env-and-extra-args","heading":"Some git commands now run with a controlled set of options and environment","line":"Claude Code's git file-listing and ignore checks now run with shared extra arguments and an explicit environment","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.309","anchor":"bash-tool-git-probe-now-runs-with-a-sanitized-git-environmen","heading":"Git tracked-file check is protected from git settings in your environment","line":"When Claude Code asks git whether a file is tracked, it now sets git's environment itself, so tracing and path-matching settings can't change the answer","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.309","anchor":"git-subprocess-env-now-uses-a-frozen-lc-alllanguagec-objec","heading":"Git commands run with LANGUAGE=C as well as LC_ALL=C","line":"Claude Code now runs some git commands with both LC_ALL and LANGUAGE set to C so their output is always in English","released_at":"2026-10-22 20:34:13","reason":"found in this entry's text"},{"version":"2.1.309","anchor":"git-commands-drop-forced-lc-allc","heading":"Git commands no longer forced to run in the plain C locale","line":"Claude Code no longer sets LC_ALL to C by default when it runs git, so git output may appear in your system language","released_at":"2026-10-22 20:34:13","reason":"named in this entry, found in this entry's text"},{"version":"2.1.287","anchor":"git-lazy-fetch-error-explains-disallowed-transports","heading":"Clearer error when git can't fetch missing files over a blocked connection type","line":"When a partial clone's on-demand fetch fails because the connection type isn't allowed, the error now explains why and names the address","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"git-subprocesses-now-run-with-lc-allc-and-languagec","heading":"Git commands Claude Code runs now always give English output","line":"Claude Code now runs its own git commands with `LC_ALL` and `LANGUAGE` set to `C`, so their output is in English whatever your system language","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"inline-policy-helpers-run-with-a-scrubbed-environment-and-a-","heading":"Inline policy helpers run with a scrubbed environment and a fixed PowerShell path","line":"Inline admin policy scripts run with a stripped environment and a PowerShell resolved from fixed paths only.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"},{"version":"2.1.234","anchor":"policy-helper-subprocesses-run-in-a-scrubbed-pinned-environm","heading":"Policy-helper subprocesses run in a scrubbed, pinned environment","line":"Policy helper subprocesses now run with a scrubbed, fixed environment rather than inheriting yours.","released_at":"2026-08-17 18:19:13","reason":"found in this entry's text"}],"entries_total":8,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"LC_TERMINAL","slug":"lc-terminal","description":null},{"name":"LC_TIME","slug":"lc-time","description":"Input to the locale used to format dates and times shown in the UI: Claude Code takes the first non-empty of `LC_ALL`, `LC_TIME` and `LANG`, drops any `.encoding` and `@modifier` suffix and turns `_` into `-` (so `en_GB.UTF-8` becomes `en-GB`), and uses the result if `Intl.DateTimeFormat` accepts it. If that first value is `C` or `POSIX`, or is not accepted, no locale is passed."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/lc-all","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}