5 ms·
are there any other implementations in other languages? (preferably c++). I use libgit2, but the code is a bit difficult to read and hack. I know there is a ru
by billconan 7y ago
are there any other implementations in other languages? (preferably c++).
I use libgit2, but the code is a bit difficult to read and hack. I know there is a ruby book implementing from scratch.
I want to understand the git internals.
- kbumsik 7y agoLet's rewrite everything in JavaScript: https://github.com/isomorphic-git/isomorphic-git https://github.com/isomorphic-git/isomorphic-git
- K0SM0S 7y agoWhat a strange way to spell Rust: https://news.ycombinator.com/item?id=19540845 https://news.ycombinator.com/item?id=19540845 (to GP: lots of links related to reimplementing git in there)
- woodrowbarlow 7y ago"write yourself a git" is an online book that walks you through implementing git in python. https://wyag.thb.lt/ https://wyag.thb.lt/
- mroche 7y agoThe WYAG book many have referenced is pretty good. Haven’t gotten through it yet, but I’m looking to do a Go implementation. I also want create my own SCM if I have the brainpower for it to test some new workflow ideas.
- russellendicott 7y agoPlease do. The one package I've used was missing features like "commit all files" last time I used it a year ago. https://github.com/src-d/go-git https://github.com/src-d/go-git
- emmelaich 7y agoI know of two, one in pure Ocaml and one pure Go. https://github.com/mirage/ocaml-git https://github.com/mirage/ocaml-git https://github.com/src-d/go-git https://github.com/src-d/go-git
- bokchoi 7y agoThere is JGit implemented in Java https://github.com/eclipse/jgit https://github.com/eclipse/jgit