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

replace GIT CLI with gitoxide dependency #6

Open
sloganking opened this issue Sep 11, 2022 · 2 comments
Open

replace GIT CLI with gitoxide dependency #6

sloganking opened this issue Sep 11, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@sloganking
Copy link
Owner

sloganking commented Sep 11, 2022

gitoxide

@sloganking sloganking added the enhancement New feature or request label Sep 11, 2022
@sloganking sloganking changed the title replace GIT CLI with gixoxide dependency replace GIT CLI with gitoxide dependency Sep 11, 2022
@sloganking
Copy link
Owner Author

sloganking/codevis#18 (comment)

And of course, I'd use gitoxide to get the commit history and the associated trees, efficiently.

To do this I need an equivalent to git clone, git rev-list and git checkout.

Does gitoxide-core have an equivalent to these? I can't currently find them.

@Byron
Copy link

Byron commented Sep 25, 2022

rev-list is present via ancestors() on commits, clone() or something like it will be available by the end of the year. Checkout might be there as well but no promises.
Since codemov shells out a lot of functionality right now, I think using git directly fits the theme and personally I think it's absolutely fair to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants