Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Symlinks only contain path when using a git branch on Windows #77

Closed
@hcs64

Description

With the following in Cargo.toml:

[dependencies]
serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums8" }

I get files like vendor/serde_derive/LICENSE-APACHE that just contain "../LICENSE-APACHE". If I remove the branch I get the proper contents. These files are in Git as symlinks. I expect this is probably an issue with libgit2 on Windows, but there is clearly some way this is being avoided when branch isn't being used. Is it possible to have that same behavior with branch?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions