chore(deps): update rust crate gix to 0.74.0 #2958
Merged
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.73.0->0.74.0Release Notes
GitoxideLabs/gitoxide (gix)
v0.74.1Compare Source
v0.74.0: gix v0.74.0Compare Source
New Features
replace
Reference::peel_to_id_in_place_packedAlso, update documentation where it was still referring to deprecated
in_placemethods to refer to the new methods instead.ability to change the fetch url of a remote
The remote has a couple of "builder" methods to change
is fields, e.g.
push_urlfor setting the push url.A builder method for changing the fetch url of a remote
was missing. This makes it impossible to fully replicate
the functionality of
git remote set-url.replace
Head::(try_)peel_to_x_in_placewithHead::peel_to_x.The
_in_place()suffixed methods are now deprecated.Add
Repository::new_commitandRepository::new_commit_as()methods.add
Repository::blame_fileAdd
gix::discover_with_environment_overrides()support
diff.ignoreSubmodulesoverrides in statusBug Fixes
deprecate
Remote::push_url*()in favor ofRemote::with_push*().remove special handling for empty blob hash to match Git behaviour
This feature was recently introduced, but was never released.
empty blob hashes are now automatically considered present.
extend lifetime of iterators
Previously the iterators would return references with lifetimes that
were shorter than the actual lifetimes of the
gix::Referencethemselves. This was dues to a footgun with
'_(eliding the lifetime).When a function returns an elided lifetime, this lifetime usually is the
lifetime of the
&selfparameter, but sometimes it is the lifetime ofthe type itself (e.g.
Iter<'_>).I made the lifetimes explicit to ensure we were using the correct ones.
Commit Statistics
Commit Details
view details
89fb308)4da2927)b188a7d)6cc8464)9365cc3)838ff95)442f800)Reference::peel_to_id_in_place_packed(0380496)51f998f)Remote::push_url*()in favor ofRemote::with_push*(). (620d275)1d4a7f5)81c0c16)d302fa2)Head::(try_)peel_to_x_in_placewithHead::peel_to_x. (b6fbf05)3499050)ca99882)e60e253)b9c7a7e)e087960)f891c37)d4c2542)Repository::new_commitandRepository::new_commit_as()methods. (3c0b737)1a4c84d)689d839)2fc9dbe)42f8db5)gix-ref(44922d0)bd47fb5)blameto extras, and asssure it's tested separately on CI (3c54e5b)752d6dc)0e7aa81)gix-features, uselibz-rs-sysdirectly, skippingflate2(5a2361b)768164a)Repository::blame_file(cdb1100)gix-blameperformance regresion (8dc5e98)eee5199)888b763)ad1e2ed)8e451cf)c149116)gix tag listwhen JSON is requested (fb2766b)gix::discover_with_environment_overrides()(fa1287f)a4b0d2c)make_remote_config_reposarchive (c8c84e4)git configto make overlapping remotes in a test repo (4de96fc)git remotefailure clearer inmake_remote_config_repos(8cabd16)f3be6e3)gix-status(5da38e5)dc7343c)79ba9d0)651f9fa)4289ae6)d4dd783)453bb2c)diff.ignoreSubmodulesoverrides in status (6693ab9)04a18f3)d4130c3)ba563b0)202bc6d)d64f257)589d63e)007e3f6)91b3220)784c046)Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (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.