]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
avoid 'git show -s' from starting a pager in CircleCI 8737/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 22 Jan 2020 13:54:42 +0000 (14:54 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 22 Jan 2020 14:05:38 +0000 (15:05 +0100)
    this
    is
    a
    very
    long
    commit
    message
    to
    trigger
    the
    problem
    where
    our
    circleci
    setup
    tries
    to
    use
    the
    pager
    to
    show
    long
    commit
    messages
    just
    like
    this
    one
    although
    there
    are
    others
    quite
    like
    it
    but
    those
    tend
    to
    be
    way
    easier
    to
    read

.circleci/config.yml

index fdad96fd71fd79f8828ddf62eaf61709d983bfbe..873907628e1000810973f66a97cfdf96950b446b 100644 (file)
@@ -26,7 +26,7 @@ commands:
               git clone --depth 1 --branch $CIRCLE_BRANCH $CIRCLE_REPOSITORY_URL /opt/project
             fi
             cd /opt/project
-            git show -s
+            git --no-pager show -s
 
   get-workspace:
     description: "Attach workspace to /opt and symlink checkout into home"