Being no GIT expert, I can only assume that GIT stores it data internally in ASCII. I’ve come to this conclusion because of the information in the .gitattributes file eg
* working-tree-encoding=ibm-1047 git-encoding=iso8859-1
.gitattributes working-tree-encoding=iso8859-1 git-encoding=iso8859-1
Through trial and error I’ve found that its the “GIT ADD” that uses the info in .gitattributes.
But what about “GIT CHECKOUT” ? If I delete .gitattributes, shouldn’t the file come back in ASCII ? As there is nothing telling GIT is should convert it to EBCDIC.
This doesn’t seem to be the case. But I don’t understand why not.
Regards,
Gary