ogit isn't really intended to be a CLI replacement for Git. As the comment above implies, it's a support library for higher-level applications or libraries that use git, such as irmin.io
Making this go fast and suitable for use in the Irmin (irmin.io) branching db has been a fun and multi-year effort.
See https://discuss.ocaml.org/t/ann-ocaml-git-2-0/2740 the discussion on how ocaml-git 2.0 came to be, and some of the libraries and abstractions that had to be developed for it. A lot of those are now being applied to other protocols in MirageOS, such as the new e-mail stack (who would have thought MIME parsing would be so difficult? https://github.com/mirage/mrmime)
4 comments
[ 3.2 ms ] story [ 19.9 ms ] threadSo essentially, OGit cannot be used as a CLI replacement for Git?
See https://discuss.ocaml.org/t/ann-ocaml-git-2-0/2740 the discussion on how ocaml-git 2.0 came to be, and some of the libraries and abstractions that had to be developed for it. A lot of those are now being applied to other protocols in MirageOS, such as the new e-mail stack (who would have thought MIME parsing would be so difficult? https://github.com/mirage/mrmime)