Open joellti opened 1 year ago
I have no plans to support sub-vaults/nested vaults. The issue here probably is that it doesn’t pass the absolute path because the sub-vault isn’t aware of the real root of the git repo. There may be a better way to pass the file path, but I don’t know how the Git plugin does it.
@Vinzent03 Is there anything I'm doing wrong by calling your APIs/is there anything you could do from your end to make this work?
This is how I call the APIs.
I got a vault which contains several sub-vaults. And I plan to enable git version control for that. Obsidian Git and this plugin were installed in root vault and working great. I was able to do backups and do diffs on any vault file. Now I want to do the same in the sub-vaults by installed the two plugins there. But I got mixed results there. First the diff by this plugin is failing with following error log.
On the other hand, the diff command in Git plugin worked fine.
Please let me know if there is any workaround or fix to make it working.
Thx