You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For vaults that are not the root of a git repository the "line author" feature doesn't work
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
obsidian-git. hash-object failed: fatal: could not open 'Readme.md' for reading: No such file or directory
eval @ plugin:obsidian-git:29800
plugin:obsidian-git:29119 Uncaught (in promise) Error: fatal: could not open 'Readme.md' for reading: No such file or directory
at Object.action (plugin:obsidian-git:29119:25)
at PluginStore.exec (plugin:obsidian-git:29144:25)
at eval (plugin:obsidian-git:26649:43)
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (plugin:obsidian-git:26647:16)
at GitExecutorChain.eval (plugin:obsidian-git:26631:44)
at Generator.next (<anonymous>)
at fulfilled (plugin:obsidian-git:25476:24)
Steps to reproduce
Create a new git repo bob
Create a new vault as a subdir in the repo bob/vault
Add some notes, commit, and turn on "line author"
Expected Behavior
The rest of obsidian git works fine for vaults that are not the root of a repository, so I would expect this feature to also work.
Addition context
No response
Operating system
macOS
Installation Method
None
Plugin version
2.22.0
The text was updated successfully, but these errors were encountered:
Same issue on linux. Tried a few workarounds like GIT_PREFIX=notes/ or custom path = ../ or notes none of which worked (the latter logged partially sliced filenames in the terminal which was odd)
Describe the bug
For vaults that are not the root of a git repository the "line author" feature doesn't work
Relevant errors (if available) from notifications or console (
CTRL+SHIFT+I
)Steps to reproduce
bob
bob/vault
Expected Behavior
The rest of obsidian git works fine for vaults that are not the root of a repository, so I would expect this feature to also work.
Addition context
No response
Operating system
macOS
Installation Method
None
Plugin version
2.22.0
The text was updated successfully, but these errors were encountered: