mirror of
https://github.com/neovim/neovim.git
synced 2026-09-02 04:13:48 +00:00
build(vim-patch): v8.2.0922 is n/a
This commit is contained in:
@@ -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+$' \
|
||||
|
||||
Reference in New Issue
Block a user