Skip to main content
Nov 14, 2016 11:01 AM UTC

Git for z/OS is now available in pre-release beta

The first beta release of z/OS git has been out for five weeks now and has proved extremely stable. Only two bugs reported with about a dozen users. The second beta adds support for git archive facility and the perl-dependent features such as interactive command options. The second beta is now in internal test and will be available in 5 to 10 days. Reply to this post if you are interested in trying out git for z/OS.
Best,
-Peter

    21 replies

    Dec 20, 2016 9:43 PM UTC

    When you (pfandel) say “there is no complete bi-direction mapping between EBCDIC and UTF-8” I would say that is true, but is more accurately stated that “not every UTF-8 character can be mapped to a valid EBCDIC code page”.

    But in my case this does not really matter. All that matters is that each character in the EBCDIC code page I am using (1140) does have a corresponding UTF-8 value. So unless I were to edit the UTF-8 representation of the file to include a character that cannot be mapped to IBM-1140 (and why would I do that?), it all seems to work just fine.

    I did some more testing and I have found no issues with using CCSID 1140 rather than 1047, as long as the git-encoding codepage has a valid mapping for each EBCDIC symbol being used. Is this “only coincidentally” working?

    I created a repository on Github with some tests that seem to prove that this works. You can find it here: https://github.com/fswarbrick/codepage_test.git.

    Frank

    The following appears to do what I want:
    [A-Z]* working-tree-encoding=ibm-1140 git-encoding=iso8859-1

    This says (hopefully) to match any file starting with a capital letter and not having an extension.

    Someone please correct me that that sounds wrong, but it seems to work.