[PATCH] gitattributes: set eol=lf for files that fail on Windows
Orgad Shaneh
orgads@gmail.com
Tue Oct 26 14:28:27 GMT 2021
When core.autocrlf is true, gas documentation and igen in sim/ppc fail to
build.
---
.gitattributes | 1 +
sim/ppc/.gitattributes | 4 ++++
2 files changed, 5 insertions(+)
create mode 100644 sim/ppc/.gitattributes
diff --git a/.gitattributes b/.gitattributes
index 06d51d28a95..b3777e07dab 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -18,3 +18,4 @@
# file gets renamed again ...
ChangeLog merge=merge-changelog
+*.texi eol=lf
diff --git a/sim/ppc/.gitattributes b/sim/ppc/.gitattributes
new file mode 100644
index 00000000000..216605694b8
--- /dev/null
+++ b/sim/ppc/.gitattributes
@@ -0,0 +1,4 @@
+/*.igen eol=lf
+/dc-complex eol=lf
+/ppc-instructions eol=lf
+/ppc-spr-table eol=lf
--
2.33.1.windows.1.1.g7e610705a5
More information about the Gdb-patches
mailing list