Re:Shit – An implementation of Git using POSIX shell
by peterwwillis on Tuesday February 11, 2020 @11:20PM
(#22305739)
Still more sane than JavaScript to me. Would use this over a 500MB Node.js implementation.
[ Parent
| on HN ]
Re:Shit – An implementation of Git using POSIX shell
by efreak on Wednesday February 12, 2020 @12:04AM
(#22305956)
Is this a reference to something? I can't imagine it would take 500mb to reimplement git in JavaScript. This one's <75kb and full of explanations: https://github.com/maryrosecook/gitlet
Re:Shit – An implementation of Git using POSIX shell
by GordonS on Wednesday February 12, 2020 @04:04AM
(#22307170)
It's a dig at the typical size of a `node_modules` folder. These often are very large, and often do contain several thousand files, largely due to transitive dependencies.
Re:Shit – An implementation of Git using POSIX shell
by thcz on Wednesday February 12, 2020 @01:21AM
(#22306364)
For anyone looking to use Git in JS, check out https://github.com/isomorphic-git/isomorphic-git. I've had great success with it and really like it as a library. It's API design is good and it's tree-shakeable so the size of the library is very reasonable, even if taking it as a whole.