indent: Ignore any changes in medias/

It is a submodule and we do not care about it

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/952>
This commit is contained in:
Thibault Saunier 2021-09-29 09:22:06 -03:00 committed by GStreamer Marge Bot
parent a619f2cedf
commit 1ce9918808

View file

@ -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