{"version":"2.1.275","anchor":"git-fetch-debug-trace-no-longer-inherits-the-parent-environm","canonical_anchor":"git-fetch-debug-trace-no-longer-inherits-the-parent-environm","heading":"Git fetch debug-trace no longer inherits the parent environment","tier":"internal","area":"Git","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/git-fetch-debug-trace-no-longer-inherits-the-parent-environm","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### Git fetch debug-trace no longer inherits the parent environment\n\nGit fetch debug tracing now runs with only GIT_TRACE_PACKET set, not the full environment\n\n**What**\n\nWhen Claude Code retries a `git fetch` with packet-level tracing turned on (a debug mode that logs the raw network exchange for troubleshooting), the process it spawns for that retry used to inherit the full parent environment plus the `GIT_TRACE_PACKET` variable. It now runs with only `GIT_TRACE_PACKET: \"1\"` set, and nothing else from the surrounding environment.\n\n**Why**\n\nThis narrows what the traced git process has access to during the retry, which mainly affects debugging output rather than normal git operation.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}