From 4a7de5e521efa4bbc86da174193c2f6756d9772e Mon Sep 17 00:00:00 2001 From: rajeshkt78 <109729326+rajeshkt78@users.noreply.github.com> Date: Thu, 10 Nov 2022 15:31:55 +0530 Subject: [PATCH] Update fix_gitignore.sh (cherry picked from commit 7d75bbf7345edc97faef892080cba4ac8818e565) --- ci/fix_gitignore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/fix_gitignore.sh b/ci/fix_gitignore.sh index 1665a8db2..616e3843b 100755 --- a/ci/fix_gitignore.sh +++ b/ci/fix_gitignore.sh @@ -5,7 +5,7 @@ source ci/ci_helpers.sh # Remove all the ignored files from git tree, and error out # find all ignored files in git tree, and use quotation marks to prevent word splitting on filenames with spaces in them -# NOTE: Option --cached is neeed to avoid a bug in git ls-files command. +# NOTE: Option --cached is needed to avoid a bug in git ls-files command. ignored_lines_in_git_tree=$(git ls-files --ignored --cached --exclude-standard | sed 's/.*/"&"/') if [[ -n $ignored_lines_in_git_tree ]]