You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jetm
changed the title
Why a user will opt to use klondiff instead of diff-so-fancy>
Why a user will opt to use klondiff instead of diff-so-fancy?
Aug 30, 2018
Thanks for bringing that project under attention, I personally didn't know about it. I had a look at it, and it's definitely interesting.
The differences I see:
Klondiff consists of two tools, a new diff algorithm, and a fancy diff colorizer, while diff-so-fancy is a post-processor for git diff.
Klondiff excells in handling indentation changes, which is hard to do in post-processing.
Also it finds more matching lines, when the number of lines in a changed block are different diff-so-fancy doesn't seem to search for similarity.
Klondiff diffs are human readable, but also still valid machine readable unified diffs.
diff-so-fancy does reformat the metadata to remove stuff that's not so interesting for humans.
Also it uses more colors, like dark backgrounds. Those are not supported on tty terminals, but I guess those are quite rarely used for development nowadays.
I do like the way diff-so-fancy is implemented as a git pager, and it might make sense to do the same with the klondiff colorizer. Also supporting more colors would be nice.
@pierstitus Thank you for the response. You might want to add your response to the README.md file. I think it will be usefully as a selection criterion.
https://github.com/so-fancy/diff-so-fancy
The text was updated successfully, but these errors were encountered: