Error pushing with smart protocol
jeffa5 opened this issue · comments
Hi! When I try to run the code from this gist with the irmin-test repo at commit 650203dfc04a4e8b441a68a6892f1b8769940c6f I get the following error:
Fatal error: exception (Invalid_argument "Sync.push_exn: (`Smart (`Unexpected_char \001))")
The scenario is basically:
- clone repo (pull)
- add file and commit
- push back to remote
This actually does push the change to the remote but gives the error and leaves the local repo thinking the remote is still behind.
I need to reproduce the scenario but I believe that #395 fixed the problem.
Lot of things was done since this issue and I'm not sure if it's relevant to keep it. I will close it but feel free to re-open it if you have a problem with the last version of ocaml-git
.