Detect if underlying file has change between when diff was computed and apply

Resolved 💬 2 comments Opened Feb 24, 2025 by ezyang Closed Mar 6, 2025

Steps to reproduce:

  1. Prompt Claude to make a change
  2. After Claude proposes a diff, edit the file
  3. Accept Claude's change

Expected result: Claude code says something about the file having changed underneath
Actual result: It seems to just directly YOLO the apply? Not exactly sure what it's doing, but it definitely doesn't report anything.

View original on GitHub ↗

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