{"version":"2.1.332","anchor":"git-lfs-config-injected-via-git-config-parameters-in-sandbox","canonical_anchor":"git-lfs-config-injected-via-git-config-parameters-in-sandbox","heading":"Sandboxed shells pass Git LFS settings through GIT_CONFIG_PARAMETERS","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/git-lfs-config-injected-via-git-config-parameters-in-sandbox","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Sandboxed shells pass Git LFS settings through GIT_CONFIG_PARAMETERS\n\nWith the sandbox on, shells get Git LFS settings in GIT_CONFIG_PARAMETERS, and statusline scripts are told not to run git lfs or remove it\n\n**Unclear.** Which Git LFS settings are added, and so what they change for LFS commands, is not stated.\n\n**What**\n\nThe sandbox is a restricted environment that limits what shell commands can reach. Claude Code now adds Git LFS settings to the git commands run inside sandboxed shells. Git LFS is a git add-on that handles large files.\n\n- When sandboxing is enabled, or a related check passes, the shell environment gets `GIT_CONFIG_PARAMETERS` extended with LFS settings. `GIT_CONFIG_PARAMETERS` is a variable that hands git extra settings. This only happens when the `bot_protected_tengu_sooty_marigold` gate allows it, and nothing has been read about that gate.\n\n- The statusline-setup agent, the helper that writes status line scripts, is now told that script git commands must not run `git lfs` and must leave `GIT_CONFIG_PARAMETERS` in place if it is set. It explains that with the sandbox on, this keeps Git LFS's filter off. Before, it was only told to skip optional locks.\n\n**Why**\n\nThis changes how Git LFS behaves inside sandboxed shells. Status line scripts written by the agent should no longer undo that by calling `git lfs` or clearing the variable.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}