Skip to content

word diff / color-words #462

Answered by Byron
mustafa0x asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your interest - diffing in gitoxide is definitely in its early stages right now.

Does gitoxide have word-diff functionality (libgit2 doesn't seem to yet)? Does it plan to?

Yes! Currently git-diff can calculate differences between trees, which is the basis to seeing which files changed. These can then be word-diffed with any algorithm, which could already be done with crates on crates.io or the library version of delta.

Could it be compiled to WASM and used as a self-contained library / method?

WASM isn't yet a compilation target and getting gitoxide there is going to be some work. It's going to happen eventually though, even though there isn't a tracking ticket yet, it's tr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants