1/19/2024 0 Comments Gitkraken wslMy repository is located at ~/github.priv3 and I'm using following git.bat file (hacked together, for testing): symlinks can't be read (tested with Java 13):Ĭaused by: : \\wsl$\Ubuntu-20.04\home\marc\symlinks\links\link: Incorrect function.Īt java.base/.anslateToIOException(WindowsException.java:92)Īt java.base/.WindowsException.rethrowAsIOException(WindowsException.java:103)Īt java.base/.WindowsException.rethrowAsIOException(WindowsException.java:108)Īt java.base/.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)Īt java.base/.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)Īt java.base/.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:198)Īt java.base/.readAttributes(Files.java:1842).slow refreshing due to timestamp precision issues.SmartGit-specific problems when accessing \\wsl$\-paths: "credential.helper=cache" and credentials must be configured in a way that Git won't have to ask for credentials (avoid command line prompt!) => The Git credential helper must be configured to e.g. Git executable inside WSL should be used.=> a workaround is to set "core.filemode=false" for the repository executable bits are not detected, but still compared.=> "tocrlf=false" should be set for the repository => most interesting case, but works only quite limited using \\wsl$\-paths WSL2: access repository located on Linux system.WSL2: access repository located on Windows file system.=> is this possible at all with WSL1? If so, probably issues are similar to WSL2 (see below) WSL1: access repository located on Linux system.=> why would one use WSL's Git here instead of a Windows Git? WSL1: access repository located on Windows file system.Given this topic has been posted 3 years ago and there is now WSL2, which issues are still present? According to my understanding there are following possible combinations:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |