Fix agent behaviour

This commit is contained in:
Andras Schmelczer 2025-02-23 16:45:52 +00:00
parent b4783d1007
commit c69f84edf5
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 16 additions and 3 deletions

View file

@ -206,6 +206,7 @@ export class Syncer {
await this.operations.read(relativePath);
const contentHash = hash(contentBytes);
// todo: make this smarter so that offline files can be renamed & edited at the same time
const originalFile = findMatchingFileBasedOnHash(
contentHash,
locallyPossiblyDeletedFiles