codemov
codemov copied to clipboard
replace GIT CLI with gitoxide dependency
https://github.com/sloganking/codevis/pull/18#issuecomment-1242893223
And of course, I'd use
gitoxideto 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.
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.