obsidian-version-history-diff
obsidian-version-history-diff copied to clipboard
Error message when viewing git history
@Vinzent03 any ideas?
@ssmmtt Does it happen with all files? Only with this one?
All files
@ssmmtt In general, some more information would be quite useful.
Which plugin versions are you using?
Could you wait until the backup is done? (The push notification came after you tried to get the diff)
Does it work for previously committed files?
Could you share output in the console? (CTRL + SHIFT + I
)
Does it also happen with files that only contain ASCII characters (including their path)? It should work fine with Unicode, though.
Strange, it works fine on my home computer, and I will try it on the company computer tomorrow.
@ssmmtt Do you have different plugin versions on your machines installed? In case it doesn't work, can you share the console?
@ssmmtt Do you have different plugin versions on your machines installed? In case it doesn't work, can you share the console?
Please tell us which plugin versions you use.
Please tell us which plugin versions you use.
Newest.
And for the Git plugin?
And obsidian git?
And obsidian git?
Newest.
Since it works on the other machine, I wonder whether Git is in a bad state on this machine/whether a reinstall of the Git plugin might help.
The error message is a bit weird. It is in single quotes, but also has double quotes at the beginning.
Please uninstall and reinstall Obsidian Git and see whether you can reproduce the error. Make sure to backup your settings.
Please uninstall and reinstall Obsidian Git and see whether you can reproduce the error. Make sure to backup your settings.
Okay, I'll try.
I tried it, and it's the same. It's not a big problem. I can use it at home.
No idea why it doesn’t work on that computer. :/
I’ll leave this open in case someone else has an idea.
Okay thank you !
Is your Git version up-to-date?
Is your Git version up-to-date?
Oh, by the way, I'm using the git that comes with MinGW-w64. I'll try updating it when the holiday is over.
I looked at it. It's the latest version.
hello,I install this plugin today,and encounter the same problem:
- OS:windows10
- git version 2.24.1.windows.2
- version history diff plugin:2.0.9
- obsidian git plugin:2.14.0
@wuzhen97 This seems to be a different issue. The original issue seems to stem from bad quotes, yours is that it doesn't like the path.
It may have the same root problem, that it cannot work with non-Latin characters. @Vinzent03 Could that be somehow related? I don't think this is fixable from my end.
Hmm I don't know how to fix that. I tried adding --
to git show
, but that doesn't work at all. I'm just passing the file path to the log method of simple-git
. I strongly expect they set --
themselves. I don't know on which command exactly that error is thrown.
yeah,I may have found the cause of my problem:Before, my .git
folder was outside the vault. Now, I set it inside the vault, and the problem is solved. thanks~