From 1ce9918808e00ba28446d90a2860baea3621bf0b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 29 Sep 2021 09:22:06 -0300 Subject: [PATCH] indent: Ignore any changes in medias/ It is a submodule and we do not care about it Part-of: --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11d04ac..5f8fe93 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -361,10 +361,10 @@ gst indent: - indent --version || true - ./scripts/gst-indent-all - | - if git diff --quiet; then + if git diff --quiet -- ':!subprojects/gst-integration-testsuites/medias' .; then echo "Code is properly formatted" else - git diff --color=always + git diff --color=always -- ':!subprojects/gst-integration-testsuites/medias' . echo 'style diverges, please run gst-indent first' exit 1 fi -- 2.7.4