The pull merge compared the hub against 'ours' = a .devignore/secret-guard FILTERED manifest. A file still on disk but excluded from 'ours' looked like a local delete, so a hub edit to that path hit 'case tOK && !oOK' and overwrote the on-disk bytes with NO conflict copy — silently destroying ignored configs and the very .env/keys the guard exists to protect (a teammate pushing .env could wipe your local secret). Now: in that branch, stat the real file first; if it's actually present, preserve it as a .conflict-<host>-<ts> copy before applying the hub version — honoring the 'never lose a byte' promise. Regression test proves the local bytes survive. |
||
|---|---|---|
| .. | ||
| chunk | ||
| config | ||
| daemon | ||
| hooks | ||
| hub | ||
| identity | ||
| ignore | ||
| manifest | ||
| secret | ||
| syncer | ||
| transport | ||
| watch | ||