Hacker News new | ask | show | jobs
by stingraycharles 84 days ago
Why a complete rewrite rather than a wrapper around the cli commands?

Also, aren’t LLMs RLHFd a lot with using tools like git and as such have a better time interacting with it than custom tools?

2 comments

TFA says there is no difference since it falls through and does act as just a wrapper for anything that it doesn't implement itself.
But that’s my problem, I don’t want it to implement anything itself, I just want it to transform git output.
It's using libgit. IE it is basically still just a wrapper for official reference git implementation. I think you are worried anbout nothing.
So he didn't 'rebuilt Git in Zig'.
The command "git" is a front-end for a lot of other seperate lower level functions, which he reimplimented in zig.

He did some stuff, he didn't do some other stuff. Nothing about this story is automatically invalid or pointless or misleading or unwholesome.

correct
It defaults to being a wrapper around git when it's not custom implemented, and it's recommended that you alias nit as git so the agent can work the way it normally would, just faster and cheaper.