Closed oblitzitate closed 1 year ago
It isn't supposed to throw an error either way, so thanks for reporting. That part should be fixed now.
You're maybe correct in that you have to specify the working tree path. That is, only if YADM doesn't configure a default working tree path. What you definitely must specify for bare git repos is the path to the git directory. Git is not able to figure this out from the path alone for bare repos.
Define the GIT_DIR
environment variable such that it points to the repo.git
directory.
Closing as a duplicate of #237.
I tried
:DiffviewOpen -C~/.local/share/yadm/repo.git
but got the following error:I'm thinking I need to assign the work-tree but don't know if I can do that.