diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2023-03-30 13:48:02 +0100 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-03-31 00:20:29 +0000 |
commit | 0b65e7a43e8a5bf6fd78e5c8574336b56f5ccba1 (patch) | |
tree | 4651528c10c6a247d1d2751e1dffae5725a0b240 /.gitattributes | |
parent | 6f2eb752c5e4b32650d8d0d2eaec063614efaa3e (diff) |
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/4306>
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..e5c3266d52 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +subprojects/packagefiles/*/*.patch text eol=lf |