summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDonovan Baarda <abo@minkirri.apana.org.au>2021-08-09 23:07:26 +1000
committerDonovan Baarda <abo@minkirri.apana.org.au>2021-08-09 23:07:26 +1000
commit2528405caceca478b7f7309b803507d8b27037dc (patch)
tree44bc448c2625aa9c790adbc735b79be1f7203b65 /.gitattributes
parent0cbbaeb6e2370d3c66dfedb4da534d8098d40517 (diff)
downloadlibrsync-2528405caceca478b7f7309b803507d8b27037dc.tar.gz
Add .gitattributes to ensure test data is binary.
This is important to ensure that git doesn't apply "\n" -> "\r\n" text conversions on checkout for Windows platforms. Changing the data files like this breaks the tests that use them.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..82f5712
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,6 @@
+# Data files used for tests.
+*.data binary
+*.in binary
+*.sig binary
+*.delta binary
+*.expect binary