ref: 1ba8423af918c66c8bc9e757f6eb75524b9aeaba
parent: 11faab9ebea63ae1a1c352f9142d1c3af172299b
author: Henrik Gramner <[email protected]>
date: Wed Feb 20 19:24:08 EST 2019
ci: Check for trailing whitespace
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@
- 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";