build(vim-patch): v8.2.0922 is n/a

This commit is contained in:
Jan Edmund Lazo committed 2026-08-26 20:12:12 -04:00
1 parent c6ba487b89
commit f88655b527
1 file changed
+8
+8
View File
@@ -969,6 +969,14 @@ is_na_patch() {
"$patch" -- "${file}")
test -n "$HUNKS" && return 1
;;
src/testdir/*.vim)
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
"$patch" -- "${file}")
if test -n "$HUNKS"; then
HUNK_NUM_FINAL=$(echo "$HUNKS" | grep '^@@ .* @@' | sed 's/^@@ .* @@ //' | grep -cv -e '^func RunVimInTerminal(')
test "$HUNK_NUM_FINAL" -ne 0 && return 1
fi
;;
*.h)
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
'-I^\s+$' \