Skip to content

Commit a935c8e

Browse files
committed
chore: update libgit2 submodule to 1.7.2
libgit2 v1.7.2 includes two CVE fixes: * CVE-2024-24575: GHSA-54mf-x2rh-hq9v * CVE-2024-24577: GHSA-j2v7-4f6v-gpg8
1 parent 93dc901 commit a935c8e

File tree

7 files changed

+18
-7
lines changed

7 files changed

+18
-7
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.18.2 - 2023-09-20
4+
[0.18.1...0.18.2](https://github.com/rust-lang/git2-rs/compare/git2-0.18.1...git2-0.18.2)
5+
6+
### Changed
7+
8+
- Updated to libgit2 [1.7.2](https://github.com/libgit2/libgit2/releases/tag/v1.7.2).
9+
[#1017](https://github.com/rust-lang/git2-rs/pull/1017)
10+
311
## 0.18.1 - 2023-09-20
412
[0.18.0...0.18.1](https://github.com/rust-lang/git2-rs/compare/git2-0.18.0...git2-0.18.1)
513

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "git2"
3-
version = "0.18.1"
3+
version = "0.18.2"
44
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -20,7 +20,7 @@ url = "2.0"
2020
bitflags = "2.1.0"
2121
libc = "0.2"
2222
log = "0.4.8"
23-
libgit2-sys = { path = "libgit2-sys", version = "0.16.0" }
23+
libgit2-sys = { path = "libgit2-sys", version = "0.16.2" }
2424

2525
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
2626
openssl-sys = { version = "0.9.45", optional = true }

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ libgit2 bindings for Rust.
66

77
```toml
88
[dependencies]
9-
git2 = "0.18.1"
9+
git2 = "0.18.2"
1010
```
1111

1212
## Rust version requirements
@@ -16,7 +16,7 @@ stable release as well.
1616

1717
## Version of libgit2
1818

19-
Currently this library requires libgit2 1.7.1 (or newer patch versions). The
19+
Currently this library requires libgit2 1.7.2 (or newer patch versions). The
2020
source for libgit2 is included in the libgit2-sys crate so there's no need to
2121
pre-install the libgit2 library, the libgit2-sys crate will figure that and/or
2222
build that for you.

libgit2-sys/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.16.2+1.7.2 - 2024-02-06
4+
[0.16.1...0.16.2](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.16.1+1.7.1...libgit2-sys-0.16.2+1.7.2)
5+
36
## 0.16.1+1.7.1 - 2023-08-28
47
[0.16.0...0.16.1](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.16.0+1.7.1...libgit2-sys-0.16.1+1.7.1)
58

libgit2-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libgit2-sys"
3-
version = "0.16.1+1.7.1"
3+
version = "0.16.2+1.7.2"
44
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
55
links = "git2"
66
build = "build.rs"

libgit2-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::process::Command;
77
/// Tries to use system libgit2 and emits necessary build script instructions.
88
fn try_system_libgit2() -> Result<pkg_config::Library, pkg_config::Error> {
99
let mut cfg = pkg_config::Config::new();
10-
match cfg.range_version("1.7.1".."1.8.0").probe("libgit2") {
10+
match cfg.range_version("1.7.2".."1.8.0").probe("libgit2") {
1111
Ok(lib) => {
1212
for include in &lib.include_paths {
1313
println!("cargo:root={}", include.display());

0 commit comments

Comments
 (0)