You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
developer@Rhea MINGW64 /d/workspace/develop ((24c214e...))
$ export MSYS=winsymlinks:nativestrict
developer@Rhea MINGW64 /d/workspace/develop ((24c214e...))
$ rm buildSrc
developer@Rhea MINGW64 /d/workspace/develop ((24c214e...))
$ git show HEAD:buildSrc
build/buildSrc/
developer@Rhea MINGW64 /d/workspace/develop ((24c214e...))
$ git reset --hard
HEAD is now at 24c214e NONE: buildSrc symlink
developer@Rhea MINGW64 /d/workspace/develop ((24c214e...))
$
What did you expect to occur after running these commands?
The symbolic link buildSrc should be created as a SYMLINKD instead of as a SYMLINK.
When I go into the mingw bash, and make the link manually with ln -s, then it works as expected (proves the MSYS variable was set).
git.exe does not use the MSYS2 runtime. Therefore, the nativestrict setting is irrelevant.
Git has no concept of directory symlinks, and therefore needs a bit of help. You need to use the symlink=dir attribute (see git help gitattributes for details).
Setup
defaults?
to the issue you're seeing?
No
Details
mingw
Minimal, Complete, and Verifiable example
this will help us understand the issue.
The symbolic link buildSrc should be created as a SYMLINKD instead of as a SYMLINK.
When I go into the mingw bash, and make the link manually with ln -s, then it works as expected (proves the MSYS variable was set).
It seems that git is ignoring the trailing / in the symlink, and it should not as of:
git-for-windows/msys2-runtime#10
Unusable SYMLINK is created. Even if I create the target directory later, the symlink is unusable from the Windows explorer.
URL to that repository to help us with testing?
no
The text was updated successfully, but these errors were encountered: