Sebastian Thiel
Sebastian Thiel
The behaviour of `cargo publish` here is desired, even though it might lack refinement for this case: a file is ignored by git *and not* tracked by `git` yet -...
Would you have a rustup-based cargo invocation handy that invokes a dry-run publish with gitoxide for file listing? I would have left it here myself, but seem to have lost...
My guess would be that the `.gitignore` file contains something like this: ```ignore .direnv/ ``` And it might work if it looks like this: ```ignore .direnv/ .direnv ``` Does that...
Would you be able to try a nightly cargo, for instance with `cargo +nightly package -Z gitoxide`? If I am not mistaken, this should already be triggered for listing files...
@korrat Can you show how the `.gitignore` file is ignoring `.data`? I assume that this `.gitignore` file might even be brought in by `core.excludesFile`. And maybe that key, `core.excludesFile`, is...
That is interesting! I wasn't aware that writing (e.g.) `README.md` as include directive is equivalent to `**/README.md`. It's how `.gitignore` globs are working effectively, but for some reason in Cargo...
I also got `includes` pretty wrong it seems :). What would interest me is, without the `/README.md` modification that fixed it for you, is if ignoring `.data/` (note the trailing...
Maybe #15534 improves the situation? If not, I think a test might be missing. The new implementation also picks up ignored files as part of the status, which means it...
Thanks a lot for reporting! I wouldn't be surprised if this was related to #4960. Fingers crossed.
Indeed, [`hasconfig` isn't yet supported](https://github.com/Byron/gitoxide/blob/3fd668454acece9d218dc7b5200836dce938efbc/crate-status.md?plain=1#L717), and it's [quite a special way](https://git-scm.com/docs/git-config#Documentation/git-config.txt-codehasconfigremoteurlcode) of including files. After thinking about it, I believe that it would perfectly lend itself to being resolved as...