delta
delta copied to clipboard
🐛 Line break only changes aren't shown correctly
If I have a set of files where the only changes are line break additions/subtractions, delta doesn't render the diff correctly.
For example, given these two files:
# file1.txt
some
text
# file2.txt
some
text
When I run delta file1 file2, I get this output:
If I invert the file order and run delta file2 file1, I get the same output:
Neither output shows any colored indications of line breaks that were added or removed.
I also see this issue with git diff when delta is configured as my diff tool for git.
Related: #1271, #1038.
#522 is vaguely related.