gitoxide
gitoxide copied to clipboard
oxidize `lilgit`
Here is the project:
Missing Features
- [ ] complete status, abortable on first change for fastest-possible 'is-dirty' checks
- [x] a way to obtain the
upstreamof a branch- Right now, it's possible to do this by hand, but it's it's unlikely anyone will get this right (as opposed to 'seemingly' right).
- while at it, also tackle
push(as in git rev-parse), and probably call ittracking_branch(kind)with a way to switch between fetch and push.
Related discussion: #1173
The API for obtaining branches related to remotes has been overhauled in the linked PR and you should be able to replace the existing code with it fully. You will probably be particularly interested in the API added in this commit.
Please note that you'd have to add gix as git = https://github.com/Byron/gitoxide dependency as a crates-io release with these features doesn't yet exist.