From f62029a28f0d1f091aa5c63a19e70e9d46832c28 Mon Sep 17 00:00:00 2001 From: Benjamin Faller Date: Wed, 22 Dec 2021 20:33:59 +0100 Subject: [PATCH] Without the "-c" option Git reports "fatal: ls-files -i must be used with either -o or -c" --- GitLab-CI.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GitLab-CI.md b/GitLab-CI.md index 35834ff..ff9bfd9 100644 --- a/GitLab-CI.md +++ b/GitLab-CI.md @@ -18,5 +18,5 @@ test: - apk update - apk add git script: - - git ls-files --exclude='*.sh' --ignored -z | xargs -0r shellcheck + - git ls-files --exclude='*.sh' --ignored -c -z | xargs -0r shellcheck ```