diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-10-19 03:14:53 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-10-20 14:13:34 +0100 |
commit | b433a22a979ae78c28c8b16f8c3487e2787cb73e (patch) | |
tree | b350fd34571ae50cf22d9d4ed975d5f5fc0a28c5 /src/commit.c | |
parent | 628dae8b1c87da412db2a7714fa6b0f3a4b1eea9 (diff) | |
download | libgit2-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