summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgnieboer <gnieboer@corpcomm.net>2021-01-23 11:21:40 -0500
committerMartin Braun <martin@gnuradio.org>2021-01-25 07:54:33 -0800
commita373977df90c9a09289604203655008ad6bb7f12 (patch)
tree8b029fd70c63a01b3894725a3dcf9045f4d7cbea
parenta0ddd54ffda45fe843ddede10cec8f4f38319210 (diff)
Prevent Windows CRLF conversion for files subject to pybind hash comparisons
Signed-off-by: gnieboer <gnieboer@corpcomm.net>
-rw-r--r--.gitattributes8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 49a0e14248..afdc846275 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -7,3 +7,11 @@
*.m4 -crlf
*.ac -crlf
*.scm -crlf
+#
+# In GNURadio 3.9, pybind11 compares hash values of headers and source
+# files against knowns values. Conversion of values to CRLF on checkout
+# break those checks so keep LF values when files are subject to said checks
+#
+*.h text eol=lf
+*.c text eol=lf
+*.cc text eol=lf