Skip to content

various improvements #2016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 18, 2025
Merged

various improvements #2016

merged 5 commits into from
May 18, 2025

Conversation

Byron
Copy link
Member

@Byron Byron commented May 18, 2025

In service of rust-lang/cargo#15534.

Tasks

  • improve symlink handling during status checks.
  • Repository::is_pristine()

Byron added 2 commits May 18, 2025 11:03
…iles.

Thus, prefer the actual observation over the stored and maybe incorrect filesystem settings.
This avoids false-positives when checking for changes.
@Byron Byron marked this pull request as ready for review May 18, 2025 18:59
@Byron Byron merged commit 7ae3797 into main May 18, 2025
24 checks passed
github-merge-queue bot pushed a commit to rust-lang/cargo that referenced this pull request Jul 23, 2025
This should also help fixing these spurious "cannot package because some
excluded file is untracked" issues.

### Tasks

* [x] step-by-step conversion of `vcs.rs`
* [x] use proper feature toggle
* [x] ~~cleanup~~ final check by myself
* [ ] ~~move split & rename into its own commit. Probably squash all
changes except for the gix upgrade.~~
     - I like to have the major stages of this PR conserved.
* [x] upgrade to a gix release including
GitoxideLabs/gitoxide#2016
     - This was done in `master` already.
* [x] fix tests by fixing `gix` - `submodules()` call isn't bare-repo
safe.
* [x] fix failure on Windows
- `gix status` seems to go through a symlink, arriving at the wrong
conclusion, on Windows.
* [x] fix performance regression on `aws-sdk-rust`.

### Notes for the Reviewer

* This implementation is both faster and more correct, thus affects
#15416 and #14955.

Related to GitoxideLabs/gitoxide#106.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant