chore(deps): update rust crate gix to 0.70.0 #1295
Merged
+72
−72
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.0
->0.70.0
Release Notes
GitoxideLabs/gitoxide (gix)
v0.70.0
: gix v0.70.0Compare Source
Chore
rust-version
to 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.rename
andstatus.renameLimit
to configure rename tracking.Tree::depthfirst()
with a delegate.This allows a depth-first traversal with a delegate.
blame
plumbing crate to the top-level.For now, it doesn't come with a simplified
gix
API 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 needSeek
trait 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::Snapshot
access now uses the newKey
trait.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-version
to 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 needSeek
trait 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::Snapshot
access now uses the newKey
trait. (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
)blame
plumbing crate to the top-level. (25efbfb
)7659a65
)3fb0c18
)51a4301
)d22937f
)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.