I see this regularly when publishing gitoxide crates and thought this was fixed with the switch to gitoxide, using cargo 1.92.0 (344c456 2025-10-21).
error: 4 files in the working directory contain changes that were not yet committed into git:
gix-dir/tests/fixtures/generated-do-not-edit/many/613585535-unix/slash-in-root-and-negated/.github/workflow.yml
gix-dir/tests/fixtures/generated-do-not-edit/many/613585535-unix/slash-in-subdir-and-negated/sub/.github/workflow.yml
gix-dir/tests/fixtures/generated-do-not-edit/many/613585535-unix/star-in-root-and-negated/.github/workflow.yml
gix-dir/tests/fixtures/generated-do-not-edit/many/613585535-unix/star-in-subdir-and-negated/sub/.github/workflow.yml
The commit that introduces gix into the cargo publish is old enough to be included.
Then again, the src_files seem to depend on the ignore crate via this commit.
This might be the culprit.
|
let mut exclude_builder = GitignoreBuilder::new(root); |
Is there interest in having this gitoxide'ified?
I see this regularly when publishing
gitoxidecrates and thought this was fixed with the switch togitoxide, using cargo 1.92.0 (344c456 2025-10-21).The commit that introduces
gixinto thecargo publishis old enough to be included.Then again, the
src_filesseem to depend on theignorecrate via this commit.This might be the culprit.
cargo/src/cargo/sources/path.rs
Line 578 in 1ce8023
Is there interest in having this
gitoxide'ified?