{"version":"2.1.335","anchor":"gate-tengu-happy-tarjan-guards-a-diff-payload-that-is-return","canonical_anchor":"gate-tengu-happy-tarjan-guards-a-diff-payload-that-is-return","heading":"File edit results can leave out the git diff for small files, behind a switch","tier":"soon","area":"File Edits","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/gate-tengu-happy-tarjan-guards-a-diff-payload-that-is-return","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### File edit results can leave out the git diff for small files, behind a switch\n\nClaude Code can produce a version of a file edit result without the git diff, only for small original files and behind a switch\n\n**Unclear.** Where this version of the edit result is used, and so what it changes for a reader, is not stated.\n\n**What**\n\nWhen Claude edits a file, the result can include a git diff, a listing of the lines that changed. Claude Code now has a way to produce a version of that result without the git diff. It does so only when all of these are true:\n\n- The `tengu_happy_tarjan` gate is on.\n\n- A further internal check passes.\n\n- A copy of the original file exists and is no larger than a set size.\n\nOtherwise it produces nothing. The gate is off unless it is switched on remotely. The flag server has returned it off for this site's account and for an anonymous check; neither reading was taken under this release.\n\n**Why**\n\nIt changes what file edit results can carry, and it has been built in ahead of being switched on.\n\n- Flag `tengu_happy_tarjan`: Off in both readings (read for one account on one subscription tier against v2.1.335; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: File Edits\n- Names: `tengu_happy_tarjan`\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}