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)
Expected result
No observable effect. The .obsidian directory only contains Obsidian-created files.
Actual result
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ā).
Environment
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.
Iāve run into this too, I like to have my text editor open on multiple computers at once so this is a deal breaker for me I hope to see some traction on this soon.
AS long as you donāt edit the same file at the same time, it should be ok.
there can be conflicted copies of .obsidian/cache but that should not create problems.
Itās not an issue of having .obsidian/cache merge friendly or not.
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.