{"version":"2.1.315","anchor":"bash-diff-unavailable-message-distinguishes-shared-repo-chan","canonical_anchor":"bash-diff-unavailable-message-distinguishes-shared-repo-chan","heading":"Bash edit diff: new snapshot path and clearer wording when other commands changed the repo","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315\/e\/bash-diff-unavailable-message-distinguishes-shared-repo-chan","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.315","markdown":"### Bash edit diff: new snapshot path and clearer wording when other commands changed the repo\n\nThe Bash edit diff gets a new git snapshot path, a clearer note when other commands also changed the repo, and its own reminder type\n\n**What**\n\n`bashEditDiff` takes git snapshots so it can tell Claude which files a Bash command (a shell command Claude runs) changed. This release changes it in several ways:\n\n- The git snapshot step now takes a new path when an internal check passes, and keeps the older locked path otherwise. The saved copy of the last snapshot was also replaced.\n\n- When no file diff is available for a command and other commands also changed the repository, the note Claude sees now says the files \"changed in this repository while it ran, by it or by other commands\". Before, it only said the diff was unavailable and how many files changed.\n\n- `bash_edit_diff` and `tool_loaded_text` are added to the list of system reminder kinds, the extra notes Claude Code attaches to the conversation for Claude, next to `elapsed_time_reminder` and `total_tokens_reminder`.\n\n- New analytics categories were added: `bash_edit_diff_shared`, `bash_edit_diff_shared_wait`, `bash_edit_diff_skip`, `bash_edit_diff_wait` and `bash_triggered_notes`.\n\n**Why**\n\nWhen several commands touch the same repository at once, Claude is no longer told that its own command made changes that may have come from elsewhere. That helps it avoid misreading which edits it made.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}