Skip to main content
Apr 12, 2017 10:22 AM UTC

Git log and pager

git log gives
error: cannot run less: EDC5129I No such file or directory.
as a first line.

Perhaps you should add some documentation in the included pdf document about how to set up git log to use more because there is no less out of the box in z/OS UNIX. There are either environment variables PAGER or GIT_PAGER or git specific core.pager config option.
– Manfred

    3 replies

    Tatiana Balaburkina
    Rocketeer
    Apr 14, 2017 6:35 AM UTC

    git log gives
    error: cannot run less: EDC5129I No such file or directory.
    as a first line.

    Perhaps you should add some documentation in the included pdf document about how to set up git log to use more because there is no less out of the box in z/OS UNIX. There are either environment variables PAGER or GIT_PAGER or git specific core.pager config option.
    – Manfred

    Hi,

    It looks like you haven’t installed less on your machine. Please, check “which less” to be sure.
    If you like, you can use another pager. Read this or use
    "git config --help" command to get information about determining another pager.

    Regards,
    Tatyana

    Apr 15, 2017 1:04 AM UTC

    Hi,

    It looks like you haven’t installed less on your machine. Please, check “which less” to be sure.
    If you like, you can use another pager. Read this or use
    "git config --help" command to get information about determining another pager.

    Regards,
    Tatyana

    Tatyana,
    I’m not aware of any less binary for z/OS UNIX. If I missed anything please tell me.

    Secondly, I know how to set up a pager for git.

    My suggestion was (under the assumption that there is no less in z/OS UNIX) it should be documented how to set a different pager than less.

    I think it would even better to initially configure git to use an existing pager which is more (I don’t know of any other for z/OS UNIX).

    – Manfred

    Apr 21, 2017 12:40 PM UTC

    git log gives
    error: cannot run less: EDC5129I No such file or directory.
    as a first line.

    Perhaps you should add some documentation in the included pdf document about how to set up git log to use more because there is no less out of the box in z/OS UNIX. There are either environment variables PAGER or GIT_PAGER or git specific core.pager config option.
    – Manfred

    Agreed.