You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I started writing paru I tried using libgit2 over the git command line. This ended up being more effort than it's worth as paru needs to behave just like normal git respecting .gitconfig and sshconfig while also giving users the typical output they expect for clone and fetch and all that.
While I'm not against the idea in theory. I don't see using a git library ever being as simple and feature-full as just doing the handful of calls to git that we do now.
I'm happy to be proved wrong with a demo or something but I just don't see it happening. Most of our git calls are contained in the library https://github.com/Morganamilo/aur-fetch.rs. So if you did want to play around with it I'd start there.
For the git clone parts, instead of running a git binary do it internally with gitoxide.
The text was updated successfully, but these errors were encountered: