git: prevent CRLF line ending conversion for patches on Windows
authorTim-Philipp Müller <tim@centricular.com>
Thu, 30 Mar 2023 12:48:02 +0000 (13:48 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 31 Mar 2023 01:02:01 +0000 (02:02 +0100)
commitbaf34c311ee23d0713611a097faf66a43878de0d
treea467b5911d4d9291e97132546bbb5f6d958aee8a
parent476a8aca78273bc992d9899f228f6fa5a383657a
git: prevent CRLF line ending conversion for patches on Windows

Otherwise the patch file might get line endings converted on git
checkout on Windows if the git option core.autocrlf=true is set,
and then the patches won't apply later when Meson tries to apply
them to the downloaded source code from tarball.

This could cause the pango patches not applying to the pango
subproject on Windows in some settings, and then the subproject
setup would fail and the pango plugin would not be built.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4314>
.gitattributes [new file with mode: 0644]