Skip to content

Commit

Permalink
Fix the push process with a copy of illegal shared bigarray
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 8, 2022
1 parent 17c396a commit 5e5392f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/sync.ml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ struct
| `Blob -> `C
| `Tag -> `D
in
let raw = Bigstringaf.sub buffer ~off ~len in
let raw = Bigstringaf.copy buffer ~off ~len in
Lwt.return (Carton.Dec.v ~kind raw)
| None -> Lwt.fail Not_found

Expand Down

0 comments on commit 5e5392f

Please sign in to comment.