Skip to main content
Dear Rocket Community,

i got a quick usage question regarding git-2.26.2-pl524_78 and i hope u guys can enlighten me.

I`ve "installed" git-2.26.2-pl524_78 and its dependencies (bash-4.3.48-2, gzip-1.9-4, perl-5.24.4-4) into userspace under USS (OS/390 TEST 26.00 04 8561) and also set some environment variables like:

export GIT_SHELL=$HOME/rocket/bin/bash
export GIT_EXEC_PATH=$HOME/rocket/libexec/git-core
export GIT_TEMPLATE_DIR=$HOME/rocket/share/git-core/templates

export PATH=$PATH:$HOME/rocket/bin
export MANPATH=$MANPATH:$HOME/rocket/man/
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
export _BPXK_AUTOCVT=ON
export _TAG_REDIR_ERR=txt
export _TAG_REDIR_IN=txt
export _TAG_REDIR_OUT=txt

export _ENCODE_FILE_NEW=IBM-1047
export _ENCODE_FILE_EXISTING=IBM-1047

The git client and bash seem to work fine.

Now i was under the assumption that checked out repositorys (ISO-8859-1 or UTF-8) are automatically converted to local codepage IBM-1047. That does not happen somehow. Files are still in the remote codepage and also not tagged. Also a new local repository via "git init" and an added text File in local encoding IBM-1047 does not set the file tags right.

Did i misunderstand something or do i use the client in a wrong manner?

Thanks for your suggestions.

regards Christian
Dear Rocket Community,

i got a quick usage question regarding git-2.26.2-pl524_78 and i hope u guys can enlighten me.

I`ve "installed" git-2.26.2-pl524_78 and its dependencies (bash-4.3.48-2, gzip-1.9-4, perl-5.24.4-4) into userspace under USS (OS/390 TEST 26.00 04 8561) and also set some environment variables like:

export GIT_SHELL=$HOME/rocket/bin/bash
export GIT_EXEC_PATH=$HOME/rocket/libexec/git-core
export GIT_TEMPLATE_DIR=$HOME/rocket/share/git-core/templates

export PATH=$PATH:$HOME/rocket/bin
export MANPATH=$MANPATH:$HOME/rocket/man/
export _CEE_RUNOPTS="FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
export _BPXK_AUTOCVT=ON
export _TAG_REDIR_ERR=txt
export _TAG_REDIR_IN=txt
export _TAG_REDIR_OUT=txt

export _ENCODE_FILE_NEW=IBM-1047
export _ENCODE_FILE_EXISTING=IBM-1047

The git client and bash seem to work fine.

Now i was under the assumption that checked out repositorys (ISO-8859-1 or UTF-8) are automatically converted to local codepage IBM-1047. That does not happen somehow. Files are still in the remote codepage and also not tagged. Also a new local repository via "git init" and an added text File in local encoding IBM-1047 does not set the file tags right.

Did i misunderstand something or do i use the client in a wrong manner?

Thanks for your suggestions.

regards Christian
Hi Christian,
Thanks for the interest to the ported tools. That's correct behavior of Git. Please, check documentation "Git for zOS 2.26.2 - Release Notes.pdf" to learn how to manage IBM-1047 files.
You can download it from community portal: https://my.rocketsoftware.com/ -> Downloads -> z/Open Source -> Git.