[BUG] The Git Diff sending is more of a problem and a solution

Resolved 💬 4 comments Opened Jan 3, 2026 by junaid1460 Closed Feb 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I sent a message prompt with exact instruction on what to do, instead it did the same thing on other thing, I could not understand what happened, later realised that those files has changes

What Should Happen?

Diffs must be contextual

Error Messages/Logs

Steps to Reproduce

Just create a similar patterned file and edit one and create a chat session and then ask it to edit other

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.76 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Non-interactive/CI environment

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗