ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara 44a39017f0 diff: highlight word-level changes in git diffs
The output looks somewhat similar to color-words diffs. Unified diffs are
verbose, but are easier to follow if adjacent lines are added/removed + modified
for example.

Word-level diffing is forcibly enabled. We can also add a config knob (or
!color condition) to turn it off to save CPU time.

I originally considered disabling highlights in block insertion/deletion, but
that wasn't always great. This can be addressed separately as it also applies
to color-words diffs. #3958
2024-07-05 16:07:12 +09:00
..
examples copy-tracking: stub get_copy_records 2024-07-03 20:26:30 -04:00
src diff: highlight word-level changes in git diffs 2024-07-05 16:07:12 +09:00
testing diff: add a file-by-file variant for external diff tools 2024-07-03 20:09:17 -04:00
tests diff: highlight word-level changes in git diffs 2024-07-05 16:07:12 +09:00
build.rs
Cargo.toml windows: avoid UNC paths in run_ui_editor 2024-07-04 11:30:20 +10:00
LICENSE