ZOSOpenTools / gitport

Apache License 2.0
10 stars 4 forks source link

Handling of mixed-codepage files in git #78

Open stevchen-ibm opened 1 year ago

stevchen-ibm commented 1 year ago

We have some mixed-codepage files that are in mostly ibm-1047 but mixed with other codepage such as Japanese. We can use -text in .gitattributes to check in the files, however using this approach we will lose the ability to do blame/diff the part that are in text (ibm-1047 code). Perhaps a solution will be to support zos-working-tree-encoding=ibm-1047 -text in .gitattributes?