shithub: dav1d

Download patch

ref: b78fba8f638f18658bba292d9777ac7d080d5ee7
parent: e1c5fed09c8980f607da4365ce3cdb90e30985c1
author: Matthias Dressel <[email protected]>
date: Thu Feb 28 21:16:34 EST 2019

ci: Add style check for 'david' with an i

Check the code for misspellings of 'dav1d'/'DAV1D' as 'david'/'DAVID'.
This helps consistency and prevents bugs arising from these
misspellings.

--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@
         - amd64
     script:
         - git grep -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && exit 1
+        - git grep -n -i "david" -- . ':(exclude)THANKS.md' ':(exclude).gitlab-ci.yml' && exit 1
         - git remote rm upstream 2> /dev/null || true
         - git remote add upstream https://code.videolan.org/videolan/dav1d.git
         - git fetch -q upstream master