Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oxidize lilgit #1180

Open
1 of 2 tasks
Byron opened this issue Dec 13, 2023 · 1 comment
Open
1 of 2 tasks

oxidize lilgit #1180

Byron opened this issue Dec 13, 2023 · 1 comment
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide

Comments

@Byron
Copy link
Owner

Byron commented Dec 13, 2023

Here is the project:

Missing Features

  • complete status, abortable on first change for fastest-possible 'is-dirty' checks
  • a way to obtain the upstream of 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 it tracking_branch(kind) with a way to switch between fetch and push.

Related discussion: #1173

@Byron Byron added the C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide label Dec 13, 2023
@Byron Byron mentioned this issue Dec 13, 2023
8 tasks
@Byron
Copy link
Owner Author

Byron commented Dec 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide
Projects
None yet
Development

No branches or pull requests

1 participant