Skip to content

Commit 7fcfb87

Browse files
Carlos Fernandezfacebook-github-bot
Carlos Fernandez
authored andcommitted
update libgit2 0.20.0 to 0.20.2
Summary: # Changelog ## 0.20.2 - 2025-05-05 [0.20.1...0.20.2](rust-lang/git2-rs@git2-0.20.1...git2-0.20.2) ### Added - Added `Status::WT_UNREADABLE`. [#1151](rust-lang/git2-rs#1151) ### Fixed - Added missing codes for `GIT_EDIRECTORY`, `GIT_EMERGECONFLICT`, `GIT_EUNCHANGED`, `GIT_ENOTSUPPORTED`, and `GIT_EREADONLY` to `Error::raw_code`. [#1153](rust-lang/git2-rs#1153) - Fixed missing initialization in `Indexer::new`. [#1160](rust-lang/git2-rs#1160) ## 0.20.1 - 2025-03-17 [0.20.0...0.20.1](rust-lang/git2-rs@git2-0.20.0...git2-0.20.1) ### Added - Added `Repository::branch_upstream_merge()` [#1131](rust-lang/git2-rs#1131) - Added `Index::conflict_get()` [#1134](rust-lang/git2-rs#1134) - Added `Index::conflict_remove()` [#1133](rust-lang/git2-rs#1133) - Added `opts::set_cache_object_limit()` [#1118](rust-lang/git2-rs#1118) - Added `Repo::merge_file_from_index()` and associated `MergeFileOptions` and `MergeFileResult`. [#1062](rust-lang/git2-rs#1062) ### Changed - The `url` dependency minimum raised to 2.5.4 [#1128](rust-lang/git2-rs#1128) - Changed the tracing callback to abort the process if the callback panics instead of randomly detecting the panic in some other function. [#1121](rust-lang/git2-rs#1121) - Credential helper config (loaded with `CredentialHelper::config`) now checks for helpers that start with something that looks like an absolute path, rather than checking for a `/` or `\` anywhere in the helper string (which resolves an issue if the helper had arguments with `/` or `\`). [#1137](rust-lang/git2-rs#1137) ### Fixed - Fixed panic in `Remote::url_bytes` if the url is empty. [#1120](rust-lang/git2-rs#1120) - Fixed incorrect lifetimes on `Patch::delta`, `Patch::hunk`, and `Patch::line_in_hunk`. The return values must not outlive the `Patch`. [#1141](rust-lang/git2-rs#1141) - Bumped requirement to libgit2-sys 0.18.1, which fixes linking of advapi32 on Windows. [#1143](rust-lang/git2-rs#1143) ignore-conflict-markers Reviewed By: JakobDegen Differential Revision: D74659779 fbshipit-source-id: a18bcd8f58bc62c7eedbfa5939a791002e18d7bc
1 parent ad06b31 commit 7fcfb87

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

eden/fs/store/git/BUCK

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cpp_library(
2222
# TODO(T168360028): This dependency comes from third-party/rust/BUCK
2323
# which includes a bunch of buck-built libgit2 targets for each
2424
# platform. We are only using Linux for now. See task for the real fix.
25-
"fbsource//third-party/rust:libgit2-sys-0.18.0+1.9.0-libgit2-linux", # @manual
25+
"fbsource//third-party/rust:libgit2-sys-0.18.1+1.9.0-libgit2-linux", # @manual
2626
],
2727
exported_deps = [
2828
"//eden/common/utils:path",

eden/mononoke/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ facet = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust
5050
fbinit = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
5151
futures = { version = "0.3.30", features = ["async-await", "compat"] }
5252
futures-util = { version = "0.3.30", features = ["compat"] }
53-
git2 = "0.20"
53+
git2 = "0.20.2"
5454
lock_ext = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
5555
mercurial_derivation = { version = "0.1.0", path = "derived_data/mercurial_derivation" }
5656
mercurial_types = { version = "0.1.0", path = "mercurial/types" }

eden/mononoke/git/check_git_wc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ either = "1.5"
1616
filestore = { version = "0.1.0", path = "../../filestore" }
1717
fsnodes = { version = "0.1.0", path = "../../derived_data/fsnodes" }
1818
futures = { version = "0.3.30", features = ["async-await", "compat"] }
19-
git2 = "0.20"
19+
git2 = "0.20.2"
2020
justknobs = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
2121
manifest = { version = "0.1.0", path = "../../manifest" }
2222
mononoke_macros = { version = "0.1.0", path = "../../mononoke_macros" }

eden/mononoke/git/git-pool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "GPLv2+"
99

1010
[dependencies]
1111
anyhow = "1.0.95"
12-
git2 = "0.20"
12+
git2 = "0.20.2"
1313
mononoke_macros = { version = "0.1.0", path = "../../mononoke_macros" }
1414
num_cpus = "1.16"
1515
r2d2 = "0.8.8"

eden/scm/lib/gitstore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ anyhow = "1.0.95"
2121
async-trait = "0.1.86"
2222
blob = { version = "0.1.0", path = "../blob" }
2323
fs-err = { version = "3", features = ["tokio"] }
24-
git2 = "0.20"
24+
git2 = "0.20.2"
2525
sapling-configmodel = { version = "0.1.0", path = "../config/model" }
2626
sapling-factory = { version = "0.1.0", path = "../util/factory" }
2727
sapling-gitcompat = { version = "0.1.0", path = "../gitcompat" }

0 commit comments

Comments
 (0)