4 ms·
I'm aware of go-git [0] which > aims to be fully compatible with git, all the porcelain operations are implemented to work exactly as git does written in pure
by ultramann 1y ago
I'm aware of go-git [0] which
> aims to be fully compatible with git, all the porcelain operations are implemented to work exactly as git does
written in pure go, therefore with a go native api.
I've never tried to use it, but it does look quite impressive to me.
[0] https://github.com/go-git/go-git https://github.com/go-git/go-git
- throwaway127482 1y agoI've used it - it's lacking a ton of features. Another commenter in this thread said it's very slow compared to the git CLI, which is not surprising given that git is written in C.
- throwaway894345 1y agoI’ve used it for a production service. I thought it was surprisingly robust/featureful. There was one issue I ran into, but IIRC it was a limitation in the library’s filesystem abstraction, not a missing feature.
- notnmeyer 1y agoit’s slow, not great. at a previous place we used go-git and wound up switching to just shelling out to git.