Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for showing difference when line endings are different. #38

Open
BernH4 opened this issue Jul 29, 2021 · 0 comments
Open

Add support for showing difference when line endings are different. #38

BernH4 opened this issue Jul 29, 2021 · 0 comments

Comments

@BernH4
Copy link

BernH4 commented Jul 29, 2021

Currently when only the line endings differ (Unix \n and Windows \r\n for example) DirDiff says that the files differ but the lines are all collapsed (like when there is really no difference)

With normal vimdiff i can use following command when already inside diff:
:windo e! ++ff=unix

or before starting vimdiff:
$ vimdiff --cmd 'set fileformats=unix' file1 file2

dos2unix and unix2dos commands can be used to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant