z/OS Tools & Language

Expand all | Collapse all

Git log and pager

  • 1.  Git log and pager

    Posted 04-12-2017 10:22

    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

  • 2.  RE: Git log and pager

    Posted 04-14-2017 06:35


    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.


  • 3.  RE: Git log and pager

    Posted 04-15-2017 01:04

    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

  • 4.  RE: Git log and pager

    Posted 04-21-2017 12:40

    Agreed. :slight_smile: