obsidian-git
obsidian-git copied to clipboard
[Bug]: Mobile this take longer "Get Status"
Describe the bug
On desktop i've added icons and by accident i've pushed them to GIT. It was during hot work day on my vault so it is hard to reverse commits. Now on mobile (Both Android and iOS) pull hangs on "This take longer "Get Status"" and changes are not pulled. On Desktop there are no issues.
Relevant errors (if available)
No response
Steps to reproduce
fastest way is to install obsidian-icon-folder, download all packs and create backup. After that, try to pull on mobile
Expected Behavior
No response
Addition context
No response
Operating system
macOS
Plugin version
2.15.0
FYI: reverting commits to cleanup with proper gitignore didn't fix the issue. Aparently plugin is taking forever to fetch changes before pull since there is something in current working copy about those files (and i can't discard this). Would love to solve this without checking out vault from scratch
Reverting the commit doesn't delete them. I suggest you to rewrite your history and really delete the commit or at least the huge changes in that commit. I don't know the exact command currently, but a quick web search should help you.
I am having the same message, the first real time I've run this plugin on IPad.
Obsidian vaults are in iCloud Drive. I installed the plugin on Mac, initialised the vault repo, committed everything and pushed to a new GitHub remote. Then the vault folder would have synced to iPadOS' equivalent iCloud Drive (we are taking a couple of hours later). But, on iPad, the Source Control window has an always-turning circle, "vault backup: {{date}}" and that occasional message - "this takes longer: Get Status". I don't think this is about push-pull, I think it's just struggling to interpret the git status of everything locally (iPad iCloud Drive - Obsidian).
got the same since like 4 day, before it worked perfectly
I'm experiencing the same issue here. It seems that the problem is related to the number of files, and it only occurs on mobile devices, not on desktop.
If you're looking for a temporary solution, you might consider not versioning the plugin icons by adding them to .gitignore. This will require manually downloading the plugins on each device, but it may prevent this problem from happening again.
Same problem here :)
Same here.. Based on the timeline plus some days (from the comments above), the slowness have started in https://github.com/denolehov/obsidian-git/compare/c4a7798dd878124672ffcd306221f352a43a0265...beafd2061534244dad79a6dc10635fe8152addef somewhere? I tried to read trough it but there are a ton of formatting changes as well making it very hard.
Anyway to get some more debug info? Some utils (like simple-git) has debug enabled..
@xeor You will have to use adb on your computer to connect to your phone(which has usb debugging enabled) and chrome://inspect to view the Chrome Developer console which "should" have the debug information. In my case, no useful debug information appears though.
I also feel "Getting Status" takes very long on Android QQ (I cannot recall on iOS now)
it's still on android device, ver 2.22.0
Also on iOS .
Same issue here, has a temp solution been added?