Files
orca/src
NeilandClaude f63e56abd1 Trim unused rules from the editor's same-file check (keep WSL folding for discard holds) (#31669)
* refactor(editor): drop SSH endpoint, path flavor and WSL alias folding from buffer identity

SSH files are keyed by connection target; the guarded save catches a retarget.
\\wsl$ and \\wsl.localhost stay distinct, including for discard holds and the
per-file write lock: main compares WSL writes at write time.

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(editor): keep WSL alias folding in discard-hold and write-lock keys

A discard via \\wsl$ must hold autosave of a tab opened via \\wsl.localhost:
the local guarded write is not atomic against git. Buffer identity stays
unfolded; only the hold/lock key folds, on the local Windows client.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-21 14:45:28 -07:00
..