From 1ba8423af918c66c8bc9e757f6eb75524b9aeaba Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Thu, 21 Feb 2019 00:24:08 +0100 Subject: ci: Check for trailing whitespace --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e311806..41fcab5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ style-check: - debian - amd64 script: - - git grep -n -e $'\t' --or -e $'\r' -- . ':(exclude)*/compat/*' && exit 1 + - git grep -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && exit 1 - git remote add upstream https://code.videolan.org/videolan/dav1d.git && git fetch -q upstream master - for i in $(git rev-list HEAD ^upstream/master); do echo "Checking commit message of $i"; -- cgit v1.2.3