diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..dbf3d256b79 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.patch eol=lf diff --git a/changelog.md b/changelog.md index 696a450f648..ce4c9d207ef 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ when upgrading from a version of rust-sdl2 to another. * Add patch to fix metal detection (https://bugzilla.libsdl.org/show_bug.cgi?id=4988) * Changed signature of TimerSubsystem::ticks to accept `&self`. +[PR #1080](https://github.com/Rust-SDL2/rust-sdl2/pull/1080): Fix line endings of patches to lf so patching of sources works on Windows. ### v0.34.4