{"version":"2.1.333","anchor":"git-diff-range-validation-tightened","canonical_anchor":"git-diff-range-validation-tightened","heading":"Stricter checks on git diff ranges and remote hosts","tier":"notice","area":"Git","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/git-diff-range-validation-tightened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Stricter checks on git diff ranges and remote hosts\n\nGit diff ranges with `..` inside a ref name or ending in a `git describe` style suffix are now refused\n\n**What**\n\nA diff range names two points in a git history to compare, such as `main..feature`. Claude Code now refuses some ranges it used to accept:\n\n- Ranges where a ref name itself contains a run of dots (`..`).\n\n- Ranges that end in a `git describe` style suffix, a `-g` followed by a commit hash.\n\nThe host taken from a git remote address is now also refused when it fails an extra check.\n\n**Why**\n\nSome diff ranges that worked before will now be refused, so you may need to write them with plain branch names or commit hashes.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}