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

svn diff creates a .patch file with CRLF EOL #4519

Open
1 task done
ognevny opened this issue Apr 8, 2024 · 0 comments
Open
1 task done

svn diff creates a .patch file with CRLF EOL #4519

ognevny opened this issue Apr 8, 2024 · 0 comments
Labels

Comments

@ognevny
Copy link

ognevny commented Apr 8, 2024

Description / Steps to reproduce the issue

  1. clone any subversion repository (svn checkout ...)
  2. make some changes
  3. run svn diff > test.patch to create the .patch file
  4. try to apply it with patch

Expected behavior

patch applied with no errors

Actual behavior

Hunk #1 FAILED at 50 (different line endings).
this is usually because almost all repositories uses LF ending for files.
is there a way to change this behavior?

Verification

Windows Version

MSYS_NT-10.0-22631

Are you willing to submit a PR?

no

@ognevny ognevny added the bug label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant