![]() ![]() I'll send a thread dump later on to the mail address given on the how-to page. Even if only switching between index and working tree versions, it roughly takes about two to three seconds until the Changes window is updated. However, in the meantime, I can click to stage other hunks, but the delay is irritating. If using SmartGit (with a separate display of index and working tree) to stage a first single hunk or to unstage all changes, it roughly takes about three seconds until the Files window is updated. For a directory within the Windows file system, it takes about 70 milliseconds, while for a directory within \\wsl$\ it takes about 500 milliseconds (for the same project with equal changes). > 2) Even though pulling/pushing/fetching/ls-remote. Regarding a more general solution, there might be a way to figure out the full UNC patch for e.g. S:\home\marc\github.priv3. For a given setup it shouldn't be too hard with some String acrobatics. SmartGit will execute the batch file with the correct Windows working directory set but the mapping to WSL it doesn't know. Yes, I guess the batch file must somehow manage that. > 1) As we maintain multiple repos, I'd have to either use a more flexible. Hence, IMHO, we have all ingredients present and working, just the approach needs to be refined and we probably needs some SmartGit option to omit the "credential.helper". See 'git -help'.", but this can be ignored for now. SmartGit shows "git: 'credential-D:/smartgit/build/dist-templates/windows/lib/credentials.cmd' is not a git command. ![]() Will even survive WSL reboots (but will write credentials in plain text into your WSL file system). Git config -global credential.helper store ![]() Git config -global credential.helper cacheĪnd after every WSL 'boot' I ensure that Git will have cashed credentials by invoking from within WSL a To avoid the "UNC paths are not supported" error, I've mapped network drive S:\ to the root of my WSL file system and I'm opening the repository from S:\home\marc\github.priv3 My repository is located at ~/github.priv3 and I'm using following git.bat file (hacked together, for testing):
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |