summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-28 00:19:02 -0600
committerGitHub <noreply@github.com>2026-11-28 00:19:02 -0600
commit6e7744e1016f482df61cc47d8b198b7572638024 (patch)
tree8e0538ad05bf95d11a7c55f0600e03268fea0863
parent5b21c155a9539bfe3c55d2ba6bbe7073e23ab6c5 (diff)
parent35e8172e6b3b11a679e2da5540b3df024650ebe3 (diff)
downloadwhoson-6e7744e1016f482df61cc47d8b198b7572638024.tar.gz
Merge pull request #20 from skurtz97/fix/zos-checkout-encoding
Scope the z/OS encoding to ASCII-only files
-rw-r--r--.gitattributes10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes
index b9edfc0..5d47ad0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,9 +1,9 @@
-# z/OS: check text out tagged ISO8859-1 so the ASCII-tagged sources compile
-# without a conversion step, while history stays UTF-8.
+# z/OS: tag the files Open XL reads as ISO8859-1 so the ASCII character mode
+# needs no conversion step, while history stays UTF-8. Only ASCII-only files
+# can take this: a character ISO8859-1 cannot represent, such as the em dash
+# in README.md, makes `git clone` on z/OS fail at checkout.
* text=auto eol=lf
-* zos-working-tree-encoding=ISO8859-1 git-encoding=ISO8859-1
*.c text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8
*.h text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8
-*.sh text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8
-*.md text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8
Makefile text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8
+buildenv text zos-working-tree-encoding=iso8859-1 git-encoding=utf-8