Skip to content

Commit

Permalink
Merge pull request #2322 from samoht/fix-tests-on-macos
Browse files Browse the repository at this point in the history
irmin-client: do not duplicate connections on clone
  • Loading branch information
art-w committed Aug 30, 2024
2 parents 649657d + d7ed0c8 commit 775612c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit 775612c

Please sign in to comment.