]> git.proxmox.com Git - libgit2.git/commit - tests/diff/workdir.c
diff: test "symlinks" in wd are respected on win32
authorEdward Thomson <ethomson@microsoft.com>
Tue, 3 Nov 2015 14:40:30 +0000 (09:40 -0500)
committerEdward Thomson <ethomson@microsoft.com>
Tue, 3 Nov 2015 17:06:43 +0000 (12:06 -0500)
commitf20480ab0ccbba077e6ec060d3b4ef7f74650828
tree559493a2f9558f60acd006437b7d5930a03c7d55
parentdb1edf91e9ba9e82e6534c445008703766b5a6da
diff: test "symlinks" in wd are respected on win32

When `core.symlinks = false`, we write the symlinks content (target)
to a regular file.  We should ensure that when we later see that
regular file, we treat it specially - and that changing that regular
file would actually change the symlink target.  (For compatibility
with Git for Windows).
tests/diff/workdir.c