codemov icon indicating copy to clipboard operation
codemov copied to clipboard

replace GIT CLI with gitoxide dependency

Open sloganking opened this issue 3 years ago • 2 comments

gitoxide

sloganking avatar Sep 11 '22 16:09 sloganking

https://github.com/sloganking/codevis/pull/18#issuecomment-1242893223

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.

sloganking avatar Sep 16 '22 22:09 sloganking

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.

Byron avatar Sep 25 '22 00:09 Byron