Open the vault using Obsidian on two computers connected to the syncing service
Make an edit on each computer that can change the cache file (e.g. add a note, update links, etc)
No observable effect. The .obsidian directory only contains Obsidian-created files.
The next time the cloud service syncs, notice that there will be a duplicate version of the cache file in ./.obsidian/cache (OneDrive will display a warning on a Windows computer that the “file cannot be merged”).
Operating system: Windows, macOS
Obsidian version: 0.6.4
Using custom CSS: No
To fix this, Obsidian could provide the cache file in a text merge-friendly format (e.g. include line breaks) and clean up unexpected files in the .obisidian folder.
Perhaps a solution could be Obsidian cleaning up files it doesn’t expect in ./.obsidian? Alternately it could add line breaks so that sync services don’t just give up when the files conflict (and Obsidian could simply recreate the file if there was a botched merge).
I find myself editing the same file on multiple computers relatively often and each copy of the cache file is around half a megabyte. If I touch the daily note a couple times a day on each computer I can add a megabyte or two each day (although, I’ll admit this isn’t a terribly fast rate of growth).
I have started using ‘Autosync’ on Android to synchronise my notes to my phone, it has an option to ignore hidden folders so I don’t get the conflict anymore. Since everything in the .obsidian folder isn’t relevant on my phone this works well so far.