Hello,
we are working with Git Version 2.14.4 on z/OS 2.3 and have some troubles with codepage conversion. When we try to clone the checkout abends for some repositories with following message:
Cloning into ‘Generelle-Module’…
remote: Enumerating objects: 3753, done.
remote: Counting objects: 100% (3753/3753), done.
remote: Compressing objects: 100% (1564/1564), done.
remote: Total 3753 (delta 1868), reused 3753 (delta 1868), pack-reused 0
Receiving objects: 100% (3753/3753), 2.94 MiB | 15.58 MiB/s, done.
Resolving deltas: 100% (1868/1868), done.
fatal: inactive/asm/ELSE040.asm: incomplete multibyte sequence encountered
while converting from utf-8
warning: Clone succeeded, but checkout failed.
File ELSE040.asm e.g. contains EBCDIC char x’AB’ but the utf-8 encondings seems to be correct. Other tools like iconvs or RTC are working correct with ELSE040.asm .
Our .gitattributes file:
*.pdf binary
usermac/ zos-working-tree-encoding=IBM-1141 git-encoding=utf-8
*.asm zos-working-tree-encoding=IBM-1141 git-encoding=utf-8
*.cbl zos-working-tree-encoding=IBM-1141 git-encoding=utf-8
*.cpy zos-working-tree-encoding=IBM-1141 git-encoding=utf-8
*.c zos-working-tree-encoding=IBM-1047 git-encoding=utf-8
*.cpp zos-working-tree-encoding=IBM-1047 git-encoding=utf-8
*.h zos-working-tree-encoding=IBM-1047 git-encoding=utf-8
*.hpp zos-working-tree-encoding=IBM-1047 git-encoding=utf-8
*.sh zos-working-tree-encoding=IBM-1047 git-encoding=utf-8
The same problem occurs with zos-working-tree-encoding 1047 for *.asm.
In another Repository I have a file with all character (x’00 – x’ff) with the same attributes-file
and get not errors!?
Thanks a lot in advance.
Best regards,
Joerg