chore(deps): update rust crate gix to 0.67 #176
No reviewers
Labels
No labels
Forge
ForgeJo
Forge
GitHub
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/TUI
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: kemitix/git-next#176
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/gix-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.66
->0.67
Release Notes
GitoxideLabs/gitoxide (gix)
v0.67.0
: gix v0.67.0Compare Source
New Features
add
Repository::diff_tree_to_tree()
for greater similarity togit2
add
gix merge-file
with similar features asgit merge-file
add
Repository::blob_merge_options()
to obtain options for merging blobs andRepository::diff_algorithm()
Repository::merge_resource_cache()
to obtain the foundation for merging files directly.make implicit free-list more controllable
This is done by three new
Repository
methods:empty_reusable_buffer()
- hook into the free-list yourself.set_freelist()
- enable or initialize the free-list.without_freelist()
- a builder to disable the freelist from the start.Bug Fixes
GIT_WORK_TREE
variable work as expected.Now it's picked up durign initialization.
Previously the sorting wasn't accounted for, so an assumption about
the order of changes weren't actually true.
Previously it was possible that a non-bare repository that didn't have
worktree directory incorrectly claimed it had one.
Previously, we'd always add 'default' refspecs, even though ref-specs
might already have been present.
Now we only do this if there were no refspecs prior, and that might
still be more than Git does. I wonder where this requirement came from,
except that it might help with tests.
rev_walk
available even without therevision
feature.Technically it doesn't depend on it.
Other
Update gitoxide repository URLs
This updates
Byron/gitoxide
URLs toGitoxideLabs/gitoxide
in:Markdown documentation, except changelogs and other such files
where such changes should not be made.
Documentation comments (in .rs files).
Manifest (.toml) files, for the value of the
repository
key.The comments appearing at the top of a sample hook that contains
a repository URL as an example.
When making these changes, I also allowed my editor to remove
trailing whitespace in any lines in files already being edited
(since, in this case, there was no disadvantage to allowing this).
The gitoxide repository URL changed when the repository was moved
into the recently created GitHub organization
GitoxideLabs
, asdetailed in #1406. Please note that, although I believe updating
the URLs to their new canonical values is useful, this is not
needed to fix any broken links, since
Byron/gitoxide
URLsredirect (and hopefully will always redirect) to the coresponding
GitoxideLabs/gitoxide
URLs.While this change should not break any URLs, some affected URLs
were already broken. This updates them, but they are still broken.
They will be fixed in a subsequent commit.
This also does not update
Byron/gitoxide
URLs in test fixturesor test cases, nor in the
Makefile
. (It may make sense to changesome of those too, but it is not really a documentation change.)
New Features (BREAKING)
optional rename tracking for directories.
Depending on the source of the rename-information, items that are children
of renamed parents may be provided to enable rename tracking based on these
containers, instead of always resorting to tracking leaf nodes (i.e. blobs).
Support for 'fast-tracking' reaching the beginning of the commit-graph during traversals.
It's implemented by sorting commits oldest first when choosing the next one to traverse,
which can greatly reduce the time it takes to reach the first commit of a graph.
optionally store objects new objects in memory only.
The default object database changed to a version that allows to
keep objects in memory. This needs a mutable
Repository
instanceto setup.
Do not let
revision::walk::Platform
rely on plumbing crate types.This is a step towards a more stable API, but also, will allow using
different implementations.
Notably, this replaces
gix_traverse::commit::simple::Sorting
withgix::revision::walk::Sorting
.Bug Fixes (BREAKING)
improve error messages when failing to find references.
It's breaking due to changes in the error type.
unify location of error type of
Repository::diff_resource_cache()
.Tree::lookup_entry()
looses itsbuf
argument.The buffer will now be previded from the free-list of the repository.
remove all workspace dependencies
The problem is that with them, we don't notice anymore if the crate changes,
because a dependency changes. That also means that older versions of the dependency
may stay even though some other crates might pick up a newer version.
Ultimately, this will lead to drift and subtle incompatibilities.
We declare this breaking to enforce a proper re-release.
Refactor (BREAKING)
tree_with_rewrites
plumbing implementation.This merges
object::tree::diff::change::Event
intoobject::tree::diff::Change
as well.
Commit Statistics
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
Commit Details
view details
977b81b
)3f7e8ee
)48aa74b
)GIT_WORK_TREE
variable work as expected. (e9b3db8
)b36d7ef
)206f5d7
)2622936
)e51fcd0
)c949030
)155b5e1
)53fa8ab
)ddc99b5
)795962b
)64ff0a7
)6487269
)diff::tree::ChangeDetached
(c18ebbe
)f8952e4
)37c1e4c
)3745212
)Repository::diff_tree_to_tree()
for greater similarity togit2
(2b81e6c
)743695f
)tree_with_rewrites
plumbing implementation. (45b7155
)gix-diff
(3fd9fab
)af03832
)gix-diff
(2bf1e5f
)7be142d
)gix-diff
(5c1f010
)5ffccd2
)gix merge-file
with similar features asgit merge-file
(3da2da9
)Repository::blob_merge_options()
to obtain options for merging blobs andRepository::diff_algorithm()
(c02adc7
)Repository::diff_resource_cache()
. (9e79ba3
)Repository::merge_resource_cache()
to obtain the foundation for merging files directly. (1937480
)e0b09d2
)2261de4
)WorktreeRoot
API provided bygix-diff
(25c6806
)20f9b3f
)14d6bb9
)612896d
)gix-protocol
(0d3b480
)73a7d15
)0cac690
)7c2af44
)694ebad
)c2bdda4
)b12c7c9
)22fbe70
)fe1eb97
)5242aad
)jj_realistic_needs_to_be_more_clever
on Windows (3adcfc5
)93e86f1
)012a754
)d69c617
)dfbc732
)Tree
andRepository
. (b279957
)Tree::lookup_entry()
looses itsbuf
argument. (c545d71
)1cfe577
)0fe5133
)gix-revwalk
(ea403a4
)750e268
)877f4d2
)649f588
)gix merge-base
for the CLI (7249291
)Repository::merge_base()
(3abf043
)gix-revision
(ce5a320
)beba720
)37ba461
)fc45c93
)2e0ce50
)c3a7dcf
)29ad2df
)f992fb7
)ec69c88
)e82f795
)revision::walk::Platform
rely on plumbing crate types. (d63ec06
)rev_walk
available even without therevision
feature. (c515edd
)46cd1ae
)1757377
)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 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 has been generated by Renovate Bot.