Skip to content

Commit

Permalink
Suppress paging by git info logging
Browse files Browse the repository at this point in the history
Matt Bell: Needs a --no-pager flag so that interactive sessions (local) dont try to start a pager

Co-authored-by: Matt Bell <matt@2pisoftware.com>
  • Loading branch information
DerekCrannaford and mattbell87 authored Oct 7, 2024
1 parent 6d44f70 commit c826454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/docker_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ if [ -z "$IS_PLAYWRIGHT_CONTAINER" ]; then
echo ">> CONTAINER LABELS (CORE COMMIT) <<"
echo "===================================="
echo "VENDOR DIRECTORY:"
docker exec -u root $cosine_container sh -c "cd composer/vendor/2pisoftware/cmfive-core && git log -1 --pretty=format:"CORE_HASH=\"%H\"%nCORE_COMMIT_MSG=\"%s\"%nCORE_REF=\"%D\"""
docker exec -u root $cosine_container sh -c "cd composer/vendor/2pisoftware/cmfive-core && git log --no-pager -1 --pretty=format:"CORE_HASH=\"%H\"%nCORE_COMMIT_MSG=\"%s\"%nCORE_REF=\"%D\"""
echo ""
if cd $system_is_at/.. ; then
echo ""
echo ">> TESTS ON BRANCH (CORE COMMIT) <<"
echo "===================================="
echo "MOUNTED CORE from $system_is_at: (this is mounted to /system)"
git log -1 --pretty=format:"CORE_HASH=\"%H\"%nCORE_COMMIT_MSG=\"%s\"%nCORE_REF=\"%D\""
git log --no-pager -1 --pretty=format:"CORE_HASH=\"%H\"%nCORE_COMMIT_MSG=\"%s\"%nCORE_REF=\"%D\""
echo ""
fi
sysdir=`basename "$system_is_at"`
Expand Down

0 comments on commit c826454

Please sign in to comment.