{"version":"2.1.335","anchor":"git-log-in-context-uses-no-color","canonical_anchor":"git-log-in-context-uses-no-color","heading":"Recent git history reaches Claude without colour codes","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/git-log-in-context-uses-no-color","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Recent git history reaches Claude without colour codes\n\nThe recent git commits Claude Code gives Claude for context are now fetched with `--no-color`\n\n**What**\n\nClaude Code shows Claude your last five git commits as background, so it knows what you have been working on. The `git log --oneline -n 5` command it runs for this now includes `--no-color`.\n\n**Why**\n\nIf your git is set to always use colour, for example with `color.ui=always`, hidden colour codes used to end up in what Claude reads. They no longer do.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}