Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irmin-client: do not duplicate connections on clone #2322

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## Unreleased

### Added

### Fixed

- **irmin-client**
- Fix a fd lead when using `clone` (#2322, @samoht)

### Removed

## 3.9.0 (2023-10-05)

### Added
Expand Down
1 change: 0 additions & 1 deletion src/irmin-client/client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@ struct

let clone ~src ~dst =
let repo = repo src in
let* repo = dup repo in
let* () =
Head.find src >>= function
| None -> Branch.remove repo dst
Expand Down
Loading