Skip to content

Commit

Permalink
Bump git2 from 0.19.0 to 0.20.0 (#173)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.19.0 to
0.20.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md">git2's
changelog</a>.</em></p>
<blockquote>
<h2>0.20.0 - 2025-01-04</h2>
<p><a
href="https://github.com/rust-lang/git2-rs/compare/git2-0.19.0...git2-0.20.0">0.19.0...0.20.0</a></p>
<h3>Added</h3>
<ul>
<li><code>Debug</code> is now implemented for
<code>transport::Service</code>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1074">#1074</a></li>
<li>Added <code>Repository::commondir</code>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1079">#1079</a></li>
<li>Added <code>Repository::merge_base_octopus</code>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1088">#1088</a></li>
<li>Restored impls for <code>PartialOrd</code>, <code>Ord</code>, and
<code>Hash</code> for bitflags types that were inadvertently removed in
a prior release.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1096">#1096</a></li>
<li>Added <code>CheckoutBuilder::disable_pathspec_match</code>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1107">#1107</a></li>
<li>Added <code>PackBuilder::write</code>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1110">#1110</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>❗ Updated to libgit2 <a
href="https://github.com/libgit2/libgit2/releases/tag/v1.9.0">1.9.0</a>
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1111">#1111</a></li>
<li>❗ Removed the <code>ssh_key_from_memory</code> Cargo feature, it was
unused.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1087">#1087</a></li>
<li>❗ Errors from <code>Tree::walk</code> are now correctly reported to
the caller.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1098">#1098</a></li>
<li>❗ The <code>trace_set</code> callback now takes a
<code>&amp;[u8]</code> instead of a <code>&amp;str</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1071">#1071</a></li>
<li>❗ <code>Error::last_error</code> now returns <code>Error</code>
instead of <code>Option&lt;Error&gt;</code>.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1072">#1072</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed <code>OdbReader::read</code> return value.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1061">#1061</a></li>
<li>When a credential helper executes a shell command, don't pop open a
console window on Windows.
<a
href="https://redirect.github.com/rust-lang/git2-rs/pull/1075">#1075</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/14cdc1573c29339ef1a00b3251d3a8bc0acaa52f"><code>14cdc15</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1115">#1115</a>
from ehuss/lock-locked</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/cbf9dd4fd7ed1ee751aa4fff535c4bdcc5b3f6ed"><code>cbf9dd4</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1116">#1116</a>
from ehuss/update-time</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/e46a1f956e2223db21e36d40c03208bfc38d60c4"><code>e46a1f9</code></a>
Check that Cargo.lock is not outdated in CI</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/a4bd932a19a625ee69212c77994c2290d650a7c2"><code>a4bd932</code></a>
Update the <code>time</code> dev-dependency</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/ca656517d3cc36af93ef997a1a8a69d7e80451e7"><code>ca65651</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1113">#1113</a>
from ehuss/cargo-lock</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/e16a3f95ad55783711fb01e3e6b0a86cfe1aae08"><code>e16a3f9</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1112">#1112</a>
from ehuss/check-cfg</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/f538a995ef6175209f8dae2a2275fd1a2bcfb2ac"><code>f538a99</code></a>
Add a Cargo.lock</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/8ce89e2a3a511e2f0eb199fbfde5b1531ef50459"><code>8ce89e2</code></a>
Squelch the warning about libgit2_vendored check-cfg</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/92d96accf26d0bb2e73de1facb6a028138a3cf7a"><code>92d96ac</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1072">#1072</a>
from vcfxb/remove-error-unwraps</li>
<li><a
href="https://github.com/rust-lang/git2-rs/commit/8977c0c0deeba5a30a9b75f5a71fdd60b16c5d4f"><code>8977c0c</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/git2-rs/issues/1071">#1071</a>
from vcfxb/fix-tracing-ub</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/git2-rs/compare/git2-0.19.0...git2-0.20.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=git2&package-manager=cargo&previous-version=0.19.0&new-version=0.20.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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and dependabot[bot] authored Jan 11, 2025
1 parent c837391 commit 719b666
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.1.0"
[dependencies]
cached = { version = "0.54.0", features = ["async"] }
eyre = "0.6.12"
git2 = "0.19.0"
git2 = "0.20.0"
gix = { version = "0.69.1", features = [
"blocking-http-transport-reqwest-native-tls",
] }
Expand Down

0 comments on commit 719b666

Please sign in to comment.