chore(deps): update rust crate gix to 0.70.0#15128
Merged
Conversation
Collaborator
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @epage (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
epage
approved these changes
Feb 3, 2025
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 8, 2025
Update cargo 14 commits in 0e3d73849ab8cbbab3ec5c65cbd555586cb21339..2928e32734b04925ee51e1ae88bea9a83d2fd451 2025-02-01 20:14:40 +0000 to 2025-02-07 16:50:22 +0000 - Simplify backtrack (rust-lang/cargo#15150) - Don't use on Solaris libc::LOCK_* which were removed from libc in ver… (rust-lang/cargo#15143) - feat: emit error if package not found within workspace (rust-lang/cargo#15071) - Make cache tracking resilient to unexpected files (rust-lang/cargo#15147) - Small resolver cleanups (rust-lang/cargo#15040) - feat: add `cargo pkgid` support for cargo-script (rust-lang/cargo#14961) - Suggest similar feature names on CLI (rust-lang/cargo#15133) - fix: Don't use "did you mean" in errors (rust-lang/cargo#15138) - Fix changelog link (rust-lang/cargo#15142) - chore(deps): update rust crate rand to 0.9.0 (rust-lang/cargo#15129) - Remove the original changelog (rust-lang/cargo#15123) - chore(deps): update rust crate gix to 0.70.0 (rust-lang/cargo#15128) - allow windows reserved names in CI (rust-lang/cargo#15135) - removed a word that was repeated (rust-lang/cargo#15136)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.69.1->0.70.0Release Notes
GitoxideLabs/gitoxide (gix)
v0.70.0: gix v0.70.0Compare Source
Chore
rust-versionto 1.70That way clippy will allow to use the fantastic
Option::is_some_and()and friends.
New Features
Repository::upstream_branch_and_remote_name_for_tracking_branch()It's a way to learn about the Remote and upstream branch which would
match the given local tracking branch.
tree::Editor|editor::Cursor::get()to see if an entry is loaded at path.This can be useful to get a feeling for how far the tree was already made available,
even though it won't reveal if an entry was edited.
Repository::is_dirty()now also checks for tree/index changes.This copmpletes the
is_dirty()implementation.Repository::tree_index_status()to see the changes between a tree and an index.It also respects
status.renameandstatus.renameLimitto configure rename tracking.Tree::depthfirst()with a delegate.This allows a depth-first traversal with a delegate.
blameplumbing crate to the top-level.For now, it doesn't come with a simplified
gixAPI though.Bug Fixes
Repository::status()detects files added to the index in an unborn repository.Previously it wouldn't show them.
Respository::status()iterator won't fail in unborn directories.worktrees of submodules now know their correct worktree
Previously they would use a very incorrect worktree which would cause
the status to be calculated very wrongly.
status-iterator won't swallow legitimate modification during 'racy-git'.
When a modification is marked as being racy, then previously the iterator would have
kept the whole modification even though it should just have tracked the single change.
This made the legitimate modification disappear.
write_blob_stream()does not needSeektrait anymore.Internally, it has to turn it into a buffer so it's not needed anymore.
It also counteracts the idea of using a stream with arbitrarily big files.
Submodule::status()now konws about tree-index changes as well.This completes the status implementation.
remove unused fetch-error variants
Note that it's a breaking change, but it's on top of a previous breaking change
so folks would already have to update explicitly.
Other
Repository::worktrees()lists linked worktrees.Excluding the main worktree which isn't always present.
New Features (BREAKING)
add
status::Platform::into_iter()for obtaining a complete status.Note that it is still possible to disable the head-index status.
Types moved around, effectivey removing the
iter::module for mostmore general types, i.e. those that are quite genericlally useful in
a status.
Bug Fixes (BREAKING)
config::Snapshotaccess now uses the newKeytrait.That way one can officially use "section.name" strings or
&Section::NAME.Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
Repository::status()detects files added to the index in an unborn repository. (cd8fabf)1f6390c)90e08f1)fe33fa7)4c8200f)47e44c5)Respository::status()iterator won't fail in unborn directories. (84019cb)34fa6bb)gix-status(25d480c)e4fb21e)dbf079f)af8f201)Repository::upstream_branch_and_remote_name_for_tracking_branch()(da0e1c7)gix-refspec(6d7dd9b)7ec21bb)rust-versionto 1.70 (17835bc)Repository::worktrees()lists linked worktrees. (9db2160)bc02284)1ca480a)9193b05)8d84818)5b6e5c8)af704f5)tree::Editor|editor::Cursor::get()to see if an entry is loaded at path. (3b53982)3bbd1f7)write_blob_stream()does not needSeektrait anymore. (a03bde5)0ab4f64)Submodule::status()now konws about tree-index changes as well. (a987e68)status::Platform::into_iter()for obtaining a complete status. (801689b)config::Snapshotaccess now uses the newKeytrait. (a6f397f)Repository::is_dirty()now also checks for tree/index changes. (8ae9e57)Repository::tree_index_status()to see the changes between a tree and an index. (83f3d93)Tree::depthfirst()with a delegate. (592e250)gix-traverse(1de4e70)6ed9976)blameplumbing crate to the top-level. (25efbfb)7659a65)3fb0c18)51a4301)d22937f)Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.