chore(deps): update rust crate gix to 0.82#3154
Merged
renovate[bot] merged 1 commit intomainfrom Apr 24, 2026
Merged
Conversation
11a0c6b to
642f174
Compare
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.81→0.82Release Notes
GitoxideLabs/gitoxide (gix)
v0.82.0: gix v0.82.0Compare Source
Bug Fixes
Correctly use
$COMMON_DIR/info/excludeto make excludes work in worktrees.It turns out there is no per-worktree excludes file either.
do not open
.gitmodulefiles through symlinksThis could lead to places outside of the repository that are attacker controller.
don't follow submodule names with relative paths in them
This made it possible to trick submodule repos to be opened outside of the
actual repository.
Restore
Category::to_full_name()to be able to produce any full name.Previously it learned to reject certain invalid branch names, but this has to
be done separately and led to some unpleasant changes in
gixas well.reject
refs/heads/HEADas branch name during repo initialisationAlso document that
refs/heads/HEADis allowed ifFullNamewas createddirectly.
Tree::peel_to_entry()peel to the final tree entry (and only if it's a tree)deduplicate entry-finding logic
The logic for finding entries is duplicated 3 times.
Use
std::ops::ControlFlowfor simpler, callback-friendly code.std::path::Componenthas infallible conversion to&[u8]Instead of relying on a fallible path and using a default value,
we can convert directly between a
Componentand a&[u8].Chore (BREAKING)
prodashandcrosstermionto the latest version.This will fix the
cargo denyissue as it brings in a newerlrucrate.New Features (BREAKING)
alloc_init_bytesto handle untrusted inputThis breaking change is intended to force a decision about how
much memory allocation an untrusted party can command by tempering
with binary file formats.
imara-diff-v2with git sliders processingThe slider post-processing imrpoves the diff quality for about 8% slower diffs.
Line-counts, however, will be 50% faster to compute.
Other
New Features
This can be controlled via
gitoxide.objects.allocLimitIfReducedTrust.GIX_ALLOC_BYTESand pass them togix-odbfor reading untrusted inputsha256togixDocumentation
Commit Statistics
Commit Details
view details
f9fbcba)63b8419)0396152).gitmodulefiles through symlinks (52485a9)d2e193f)95b0399)alloc_init_bytesto handle untrusted input (91d0c26)alloc_limittests to validate limit for loose objects as well. (9473d32)alloc_limit_bytestogix-index(054494f)GIX_ALLOC_BYTESand pass them togix-odbfor reading untrusted input (acffd6b)392336f)7d50c30)d9b358b)gix-object(6df1d55)6f47e98)gix-traverse(a1bd845)2a5db88)e4f380e)imara-diff-v2with git sliders processing (8094f5d)444a92b)package.includepatterns more specific so they don't match ignored files (c2c917f)e51c40b)Category::to_full_name()to be able to produce any full name. (5b229c6)420c5df)6a5a0ec)refs/heads/HEADas branch name during repo initialisation (1adc44c)a298901)3542230)8a2b474)50fb46f)gix-config. (344218a)af1ad55)gix-config(7bda16a)ec66ceb)6b45cfa)Tree::peel_to_entry()peel to the final tree entry (and only if it's a tree) (7f77169)29c275e)b1102c2)de3f064)fc09ed2)b37fef1)700ad9e)df41a64)9a78ae2)3cf53e2)sha256togix(dce21dd)98bae84)7eb98cb)2ce6dde)std::path::Componenthas infallible conversion to&[u8](0e173d6)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.