3 ms·
There's hardly any Rust in there. It's shelling out to the git command. This could have been a couple lines of bash. Actually doing this in Rust with lower-lev
by pornel 1y ago
There's hardly any Rust in there. It's shelling out to the git command. This could have been a couple lines of bash.
Actually doing this in Rust with lower-level libraries like gix would have been interesting.
- zikani_03 1y agoI've found that using Git libraries directly is usually slow and less ergonomic. I've got another tool (written in Go) here: https://github.com/zikani03/git-monorepo https://github.com/zikani03/git-monorepo which uses a Git library and is a bit slow. But I'm willing to take up that challenge and test out gix, I've regained my interest in Rust so the timing is good :)