Files
zed/crates/worktree
sigkillme0 740e018b70 Fix private value redaction in remote projects (#66525)
Remote files lose their `is_private` flag, leaving `.env` values visible
over SSH even with `redact_private_values` enabled. Preserve the flag in
file metadata so the editor's existing redaction works remotely.

Testing: all 71 remote-server tests pass. Both new regressions fail with
the original decoder. Verified masking over SSH from macOS to Linux.

## Self-review

- [x] Reviewed for quality, security, reliability, and performance.
- [x] UI [checklist](https://zed.dev/docs/development/ui-checklist):
verified dark/light themes and the redaction setting over SSH.
- [x] Tests cover the changed behavior.

Release Notes:

- Fixed `.env` values remaining visible over SSH when
`redact_private_values` is enabled.
2026-11-19 09:50:13 +00:00
..