Open mannidung opened 5 months ago
I am having this too after making a relatively large number (64 commits, involving 200 files) of commits on PC. No longer able to do any git command on mobile devices now, including a Galaxy Tab 8 running Android 11 and iOS 17. Feeling this maybe related and useful however not sure how may I edit .git/config file on mobile.
2.24.0
iOS 17, Android 11
since this in README, I guess there is very little can we do to fix this.
Mobile
The git implementation on mobile is very unstable!
Restrictions
I am using [isomorphic-git](https://isomorphic-git.org/), which is a re-implementation of Git in JavaScript, because you cannot use native Git on Android or iOS.
SSH authentication is not supported (https://github.com/isomorphic-git/isomorphic-git/issues/231)
Repo size is limited, because of memory restrictions
Rebase merge strategy is not supported
Submodules are not supported
same issue
I have same issue and Obsidian crashes with out of memory exception
same happens to me on initial sync of a vault with just a few 100 files. this is the last notification before crashing
Like @vertoker said, the problem seems to be memory usage to clone the repository. An easy workaround (at least for android) is to make the initial clone yourself. One option is to:
Downloading the .zip directly from github will not work, because it will not download the .git folder.
@Silventino this won't work as the sync strategy on PC is via ssh
Describe the bug
When I try to perform an initial clone on my Pixel 7 using Android 14, the initial clone causes Obsidian to crash. After the crash, obsidian-git has disappeared and needs to be installed again.
Relevant errors (if available) from notifications or console (
CTRL+SHIFT+I
)No response
Steps to reproduce
Expected Behavior
Obsidian should not crash and clone finishes successfully.
Addition context
This error did not happen with Android 13.
I have not been able to retrieve any errors from the console. Please provide instructions on how to extract log output on mobile, and I can provide them.
Operating system
Android
Installation Method
None
Plugin version
2.23.2