This PR replaces the Git version we use from libgit2 to the system's version. This removes the dependency from OpenSSL, which caused errors when trying to build on arm64/MacOS.
It also solves an error when trying to build grammars from private repositories.
Incidentally, I discovered when making this PR that the previous version did not properly checkout the pinned revision on grammars in language.ncl: the grammars/ocaml directory did not exist in the revision we pin, but it does exist on main
Description
This PR replaces the Git version we use from
libgit2
to the system's version. This removes the dependency from OpenSSL, which caused errors when trying to build on arm64/MacOS. It also solves an error when trying to build grammars from private repositories.Incidentally, I discovered when making this PR that the previous version did not properly checkout the pinned revision on grammars in
language.ncl
: thegrammars/ocaml
directory did not exist in the revision we pin, but it does exist onmain
Closes #776
Checklist
Checklist before merging: