From ec27d138cb77269cd649d7f42e8beac729664ed6 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 22 Nov 2024 19:18:43 +0100 Subject: [PATCH] ci/deqp: only print the commit list header when the list is not empty Part-of: --- .gitlab-ci/container/build-deqp.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/container/build-deqp.sh b/.gitlab-ci/container/build-deqp.sh index 5858ae45d29..101d8eac07f 100644 --- a/.gitlab-ci/container/build-deqp.sh +++ b/.gitlab-ci/container/build-deqp.sh @@ -149,8 +149,10 @@ done else echo "dEQP $DEQP_API version $DEQP_VERSION" fi - echo "The following local patches are applied on top:" - git log --reverse --oneline "$DEQP_COMMIT".. --format='- %s' + if [ "$(git rev-parse HEAD)" != "$DEQP_COMMIT" ]; then + echo "The following local patches are applied on top:" + git log --reverse --oneline "$DEQP_COMMIT".. --format='- %s' + fi } > /deqp-$deqp_api/version # --insecure is due to SSL cert failures hitting sourceforge for zlib and