Skip to content

Commit 5fdf155

Browse files
authored
Merge pull request #192 from Gitlawb/fix/issue-117-multiround-fetch-deadlock
fix(git-remote): drive multi-round fetch as a v0 stateless-RPC client loop (#117)
2 parents 8d38043 + a53c151 commit 5fdf155

7 files changed

Lines changed: 2359 additions & 81 deletions

File tree

‎Cargo.lock‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/git-remote-gitlawb/Cargo.toml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,20 @@ tracing-subscriber = { workspace = true }
1919

2020
[dev-dependencies]
2121
mockito = "1"
22+
tempfile = "3"
23+
24+
[target.'cfg(unix)'.dev-dependencies]
25+
libc = "0.2"
26+
27+
[target.'cfg(windows)'.dev-dependencies]
28+
# Job Object bindings for the real_git_fetch harness: the Windows analog of the
29+
# unix process-group teardown, so the whole `git fetch` tree can be killed
30+
# together on both the timeout and clean-exit paths (INV-22). Win32_Security is
31+
# required by CreateJobObjectW, and Win32_System_Threading by
32+
# JOBOBJECT_EXTENDED_LIMIT_INFORMATION (it embeds IO_COUNTERS).
33+
windows-sys = { version = "0.61", features = [
34+
"Win32_Foundation",
35+
"Win32_Security",
36+
"Win32_System_JobObjects",
37+
"Win32_System_Threading",
38+
] }

0 commit comments

Comments
 (0)