{"version":"2.1.307","anchor":"git-file-reads-decoded-as-latin1-and-validated-before-utf-8","canonical_anchor":"git-file-reads-decoded-as-latin1-and-validated-before-utf-8","heading":"Content read through git is checked before being returned as text","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307\/e\/git-file-reads-decoded-as-latin1-and-validated-before-utf-8","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307","markdown":"### Content read through git is checked before being returned as text\n\nWhen Claude Code reads output from git, it now checks the raw bytes and returns nothing if they fail, instead of the output as it came\n\n**Unclear.** What the check looks for, and so which files now come back empty, is not known.\n\n**What**\n\nWhen Claude Code reads file content through git, it now takes the output as raw bytes, checks them, and returns the content as UTF-8 text only if the check passes. Otherwise it returns nothing. Before, it returned the output as it came whenever git finished without an error.\n\n**Why**\n\nThis avoids garbling file content that is not stored as UTF-8 text.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}