obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Bug]: Mobile this take longer "Get Status"

Open felislynx-silae opened this issue 2 years ago • 14 comments

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

felislynx-silae avatar Jan 09 '23 09:01 felislynx-silae

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

felislynx-silae avatar Jan 09 '23 09:01 felislynx-silae

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.

Vinzent03 avatar Jan 09 '23 10:01 Vinzent03

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).

robertandrews avatar Jan 26 '23 20:01 robertandrews

got the same since like 4 day, before it worked perfectly

MeritonAliu avatar Mar 02 '23 23:03 MeritonAliu

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.

RodrigoSaka avatar Apr 06 '23 10:04 RodrigoSaka

Same problem here :)

progressify avatar Apr 07 '23 20:04 progressify

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 avatar Apr 09 '23 20:04 xeor

@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.

stanley0010 avatar Apr 29 '23 08:04 stanley0010

I also feel "Getting Status" takes very long on Android QQ (I cannot recall on iOS now)

GJRobert avatar Aug 14 '23 08:08 GJRobert

it's still on android device, ver 2.22.0

cundi avatar Sep 12 '23 09:09 cundi

Also on iOS .

donniean avatar Sep 14 '23 09:09 donniean

Same issue here, has a temp solution been added?

asellingson28 avatar Jan 03 '24 07:01 asellingson28