From: Tim-Philipp Müller Date: Thu, 30 Mar 2023 12:48:02 +0000 (+0100) Subject: git: prevent CRLF line ending conversion for patches on Windows X-Git-Tag: 1.22.7~382 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=baf34c311ee23d0713611a097faf66a43878de0d;p=platform%2Fupstream%2Fgstreamer.git 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: --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e5c3266 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +subprojects/packagefiles/*/*.patch text eol=lf