Open
Description
Problem
I have a folder called "extra" that is in my .gitignore
. git status confirms it

Cargo package says the repo is dirty, but those files are gitignored.

Note: In my Cargo.toml I am adding this extra folder to the include
field, because i want this folder present in the package (but not in git).
Steps
- Add a folder with some data to the .gitignore
- Include that folder in the cargo package using the
include
field in the Cargo.toml
Possible Solution(s)
No response
Notes
Normally I worked around the bug with "--allow-dirty", but now that i've switched to cargo release
to publish my workspace, I cannot (it doesn't support that flag)
Version
cargo version --verbose
cargo 1.70.0 (ec8a8a0ca 2023-04-25)
release: 1.70.0
commit-hash: ec8a8a0cabb0e0cadef58902470f6c7ee7868bdc
commit-date: 2023-04-25
host: aarch64-apple-darwin
libgit2: 1.6.3 (sys:0.17.0 vendored)
libcurl: 7.87.0 (sys:0.4.61+curl-8.0.1 system ssl:(SecureTransport) LibreSSL/3.3.6)
os: Mac OS 13.3.0 [64-bit]