summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-07-02 12:57:56 -0700
committerEdward Thomson <ethomson@edwardthomson.com>2018-10-20 05:51:46 -0700
commite4ac40002865b3b8114ef434a97bcaedaafd324a (patch)
treeb1120b6f7853a0708db076c8277b90c87ba1e5db /src
parent7b6875f425a0a7acfc776cf213da4b200e9bb6e9 (diff)
downloadlibgit2-e4ac40002865b3b8114ef434a97bcaedaafd324a.tar.gz
checkout tests: test symlinks based on support, not platform
When testing whether symlinks are correctly checked out, examine the `core.symlinks` configuration option to determine if symlinks are supported in a repository, don't simply assume that Windows means that symbolic links are not supported. Further, when testing the expected default behavior of `core.symlinks`, test the filesystem's support to determine if symlinks are supported. Finally, ensure that `core.symlinks=true` fails on a system where symlinks are actually not supported. This aligns with the behavior of Git for Windows.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions