[EGD-5238] Fixed diff failure on removed file in clang-check Checker git diff pass was failing due to diff to removed file
1 files changed, 1 insertions(+), 1 deletions(-) M config/clang_check.sh
M config/clang_check.sh => config/clang_check.sh +1 -1
@@ 28,7 28,7 @@ get_files_to_check() local endlist=() local file_with_ignores="$1" files=$(git diff -U0 --name-only remotes/origin/master...HEAD) files=$(git diff -U0 --name-only remotes/origin/master...HEAD --diff-filter='d') for file in ${files}; do if [[ ${file} =~ ^.*\.(cpp|hpp|c|h|cxx|gcc|cc)$ ]] && shouldnt_ignore "${file}" > "$file_with_ignores"; then endlist+=("$file")