summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-10-19 03:14:53 -0700
committerEdward Thomson <ethomson@edwardthomson.com>2018-10-20 14:13:34 +0100
commitb433a22a979ae78c28c8b16f8c3487e2787cb73e (patch)
treeb350fd34571ae50cf22d9d4ed975d5f5fc0a28c5 /src/commit.c
parent628dae8b1c87da412db2a7714fa6b0f3a4b1eea9 (diff)
downloadlibgit2-b433a22a979ae78c28c8b16f8c3487e2787cb73e.tar.gz
win32: emulate Git for Windows in symlink support
Emulate the Git for Windows `core.symlinks` support. Since symbolic links are generally enabled for Administrator (and _may_ be enabled due to enabling Developer mode) but symbolic links are still sufficiently uncommon on Windows that Git users are expected to explicitly opt-in to symbolic links by enabling `core.symlinks=true` in a global (or xdg or system) configuration. When `core.symlinks=true` is set globally _and_ symbolic links support is detected then new repositories created will not have a `core.symlinks` set. If `core.symlinks` is _not_ set then no detection will be performed, and `core.symlinks=false` will be set in the repository configuration.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions