diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index fb5b5a6268..472c4c6c58 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -942,6 +942,12 @@ is_na_patch() { test "$HUNK_NUM_FINAL" -ne 0 && return 1 fi ;; + src/testdir/Makefile) + HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ + '-IREDIR_TEST_TO_NULL = ' \ + "$patch" -- "${file}") + test -n "$HUNKS" && return 1 + ;; src/testdir/Make*.mak) HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ '-I\stest8[67]\.out \\$' \