Skip to content

Support symlinks for directories in win32#5065

Merged
ethomson merged 2 commits into
libgit2:masterfrom
danielgindi:feature/win32_symlink_dir
May 12, 2019
Merged

Support symlinks for directories in win32#5065
ethomson merged 2 commits into
libgit2:masterfrom
danielgindi:feature/win32_symlink_dir

Conversation

@danielgindi

Copy link
Copy Markdown
Contributor

PR #4713 had one thing missing, which is correctly setting the SYMBOLIC_LINK_FLAG_DIRECTORY for directories, as Windows weirdly handles symlinks differently than unix-like systems.

This issue is discussed with @ethomson in #4713.

@danielgindi danielgindi mentioned this pull request May 5, 2019

@pks-t pks-t left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! I'm not familiar with the Win32 platform, so I'm deferring the actual decision to @ethomson.

@ethomson: would you agree that this should be part of v0.28.2?

Comment thread src/win32/posix_w32.c Outdated
@ethomson

ethomson commented May 8, 2019

Copy link
Copy Markdown
Member

/rebuild

@libgit2-azure-pipelines

Copy link
Copy Markdown

Okay, @ethomson, I started to rebuild this pull request as build #1896.

@ethomson

Copy link
Copy Markdown
Member

Thanks for the fix @danielgindi!

@ethomson

Copy link
Copy Markdown
Member

And yes @pks-t I'm in favor of backporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants