Open
Description
Platform: Windows
Given this repository:
https://github.com/nathanhammond/symlink_publish
A call to git_status_list_new
returns GIT_STATUS_WT_MODIFIED
for this symlink: https://github.com/nathanhammond/symlink_publish/blob/main/copy/original
Downstream, this results in cargo publish
(and cargo release
) failing for repositories with this shape (unless passing --allow-dirty
).
Full reproduction via Rust and git2
:
git clone https://github.com/nathanhammond/symlink_publish
cd symlink_publish
cargo publish --dry-run
And if you want to directly test, the reproduction repository also contains tests inside of lib.rs
to directly run the code which triggers this outcome.
Metadata
Metadata
Assignees
Labels
No labels