Skip to content

Commit 8cd3017

Browse files
chore(deps): bump gix from 0.84.0 to 0.85.0 in /bots/rhodibot (#342)
Bumps [gix](https://github.com/GitoxideLabs/gitoxide) from 0.84.0 to 0.85.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/GitoxideLabs/gitoxide/releases">gix's releases</a>.</em></p> <blockquote> <h2>gix v0.85.0</h2> <h3>Bug Fixes (BREAKING)</h3> <ul> <li> <p>avoid duplicate network connection when adopting a remote-controlled hash kind. Connections can now be created from detached remotes, internally, which makes them independent of the underlying repository.</p> <p>This is breaking as it comes with a cleanup of <code>Connection</code> lifetimes, which will break anyone who stores them in a struct. So hopefully nobody is affected.</p> </li> <li> <p>bound the clone object-hash adoption retry The clone fetch loop adopts the remote's object format and retries when it differs from the freshly initialized local repository. Adoption makes the next iteration's hashes match, but if the reopened repository somehow still disagrees the loop would re-handshake forever. Track whether we already retried and fail with IncompatibleObjectHash on a second mismatch instead. The error variant is introduced here, as this is its only user.</p> <p>Also silence clippy::never_loop on default (sha1) features, where the sha256-gated <code>continue</code> is absent and the loop always returns first pass.</p> </li> </ul> <h3>New Features (BREAKING)</h3> <ul> <li> <p>add leaf-only tree-editor removal via <code>Editor::remove_leaf()</code> Motivation comes from <a href="https://redirect.github.com/gitbutlerapp/gitbutler/pull/14312">gitbutlerapp/gitbutler#14312</a>, where callers had to split tree-entry deletions from additions to avoid accidentally deleting a newly-added subtree after adding A/one and then deleting A.</p> <p>Add Editor::remove_leaf() to gix-object and expose it through gix object tree editors and cursors. The new API keeps remove() behavior unchanged, remains tolerant of absent paths, but returns an error when the target entry exists and is a tree.</p> </li> </ul> <h3>Bug Fixes</h3> <ul> <li> <p>adopt the remote's object format when cloning A clone into a freshly initialized repository hit an <code>unimplemented!</code> panic when the remote used sha256, since the local repository defaults to sha1.</p> <p>Reconfigure the still-empty local repository to the remote's object format and retry the fetch, matching git's behavior of inheriting the remote's hash on clone.</p> <p>Without the sha256 feature gix_hash::Kind has a single variant, so the local and remote hashes can never differ; the mismatch check is compiled out entirely in that case.</p> </li> <li> <p>write fetched remote symrefs as direct refs Previously <code>gix</code> had made-up behaviour to 'improve' on standard Git,</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/6428edc82fc8a16d5ef34ca2d49aa6fdff3645fe"><code>6428edc</code></a> Release gix-date v0.15.5, gix-hashtable v0.15.2, gix-object v0.62.0, gix-attr...</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/1d301e256cef3c454c8d47473739963eec6028a0"><code>1d301e2</code></a> report for June 2026</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/da6b26760a830309bd97dc1362d45872a00c470c"><code>da6b267</code></a> Merge pull request <a href="https://redirect.github.com/GitoxideLabs/gitoxide/issues/2642">#2642</a> from 10ne1/dev/aratiu/sha256-transport</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/3927d70ff00b22e44d41657d8f6a38eda1149423"><code>3927d70</code></a> Add journey-tests for SHA-256 clones and ref-lists</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/9929ece41ecfde5cbabf25fc8d7a707d2eb21021"><code>9929ece</code></a> fix!: avoid duplicate network connection when adopting a remote-controlled ha...</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/ed998d107a8ae7a7626598f4557a42e927ae9d1e"><code>ed998d1</code></a> review</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/f7d660831a8c0f3f4612f4b3a0dcec3445a272c9"><code>f7d6608</code></a> Merge pull request <a href="https://redirect.github.com/GitoxideLabs/gitoxide/issues/2664">#2664</a> from ameyypawar/docs/2421-index-write-tree-cache</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/325d2a1189bfaf2989865353eff2a2890075c299"><code>325d2a1</code></a> map fetch pack/index checksums to their SHA-256 values</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/a507ee0e9b7023598516a1ada1d99e8b622acdde"><code>a507ee0</code></a> Merge pull request <a href="https://redirect.github.com/GitoxideLabs/gitoxide/issues/2661">#2661</a> from GitoxideLabs/negative-refspec-parsing</li> <li><a href="https://github.com/GitoxideLabs/gitoxide/commit/470e689877dd38558fbf0eb1087d221d28010ced"><code>470e689</code></a> derive update_refs expected ids from the fixture (hash-aware)</li> <li>Additional commits viewable in <a href="https://github.com/GitoxideLabs/gitoxide/compare/gix-v0.84.0...gix-v0.85.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gix&package-manager=cargo&previous-version=0.84.0&new-version=0.85.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent 640e0f3 commit 8cd3017

2 files changed

Lines changed: 59 additions & 87 deletions

File tree

0 commit comments

Comments
 (0)