Claude Code v2.1.281 ·
bashEditDiff: failed staging now cleans up its private git directory
bashEditDiff now deletes its private scratch git directory when setup fails, when tracking stops, and on shutdown
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Diff ViewArea: what it touches
Bug FixesKind: in v2.1.281,
Bug FixesSection of the release
What
bashEditDiff uses a private scratch git directory. That directory is now deleted in these cases:
- when setting it up fails
- when tracking is dropped
- when Claude Code shuts down
If deleting it fails, a log entry is written that starts "bashEditDiff: private directory not removed:".
Why
Failed or abandoned runs no longer leave stray temporary git directories on your disk. When one cannot be removed, the log shows it.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what bashEditDiff shows or does for a user.
See this entry in the whole of v2.1.281 →