summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2021-08-17 12:50:13 +0200
committerMarge Bot <emma+marge@anholt.net>2022-01-16 08:39:44 +0000
commit493f68833128959539a6e202a6cfb18ab76bcf12 (patch)
tree5a11a36e52671e3cc6ea6dda5bcd896f73a2ecf7 /.gitattributes
parentb8d37eb1bb99b795d370634a8eadcf83cf5a9d7d (diff)
downloadmesa-493f68833128959539a6e202a6cfb18ab76bcf12.tar.gz
mesa-493f68833128959539a6e202a6cfb18ab76bcf12.tar.bz2
mesa-493f68833128959539a6e202a6cfb18ab76bcf12.zip
ensure csv-files are crlf on disk
According to RFC 4189 CSV files should be encoded using CRLF newlines, not LF. This helps compatibility with tools, like python's csv module, who always uses CRLF. While we're at it, normalize the one CSV that was CRLF in-repo to LF, and let git do the newline-normalization when needed instead. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12405>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..2d4b6ac4442
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.csv eol=crlf