Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Worktree.Checkout: handling of symlink on Windows #778

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Worktree.Checkout: handling of symlink on Windows #778

merged 1 commit into from
Mar 12, 2018

Conversation

fkollmann
Copy link

On Windows, elevated rights are required for symlinks.

If they are missing, which is true for almost all users, the library will fail with "A required privilege is not held by the client." (ERROR_PRIVILEGE_NOT_HELD).

This implementation mimics the behavior of Git on Windows.

…ts are missing

This implementation mimicks the behavior of Git on Windows
Signed-off-by: Felix Kollmann <[email protected]>
@mcuadros mcuadros changed the title Added support for symlink checkouts on Windows Worktree.Checkout: proper handling of symlink on Windows Mar 12, 2018
@mcuadros mcuadros changed the title Worktree.Checkout: proper handling of symlink on Windows Worktree.Checkout: handling of symlink on Windows Mar 12, 2018
@mcuadros mcuadros merged commit 71e3741 into src-d:master Mar 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants