ZOSOpenTools / gitport

Apache License 2.0
10 stars 4 forks source link

git cannot process untagged files if they are opened with fopen #35

Closed IgorTodorovskiIBM closed 1 year ago

IgorTodorovskiIBM commented 1 year ago

When files such as .git/config are untagged, git cannot process them. This is because for some reason, fopen automatically changes the ccsid of such files to 1047. This can be overridden by the environment variables _BPXK_CCSIDS, but it can also affect other tooling.

I think a better solution is to override fopen similar to how we override open so that they both handle autoconversion using the same logic.

IgorTodorovskiIBM commented 1 year ago

Handling this in zoslib via commit https://github.com/ibmruntimes/zoslib/commit/d9c1b6d2ca9444284e3731ba80cc7e3ac37cefeb

MikeFultonDev commented 1 year ago

@IgorTodorovskiIBM is this fixed now?

MikeFultonDev commented 1 year ago

@IgorTodorovskiIBM closing this off - re-open if not fixed