From 53b372d4430aaa15cebeed8b39f08d050e2843c8 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 7 Sep 2026 00:39:50 -0400 Subject: [PATCH] build(vim-patch): n/a patches for src/po/ "vim.pot" file and tasks are N/A. "clean" task is N/A after migrating to CMake. N/A patches: - 59bd74ed4c9ab366182c93bdc430b186729abbad - 5d552d652b0197063565ab937d30f92a9ed28545 - 3c8d32e4fc17b4b38b17d7c039ee6203d1b01078 --- scripts/vim-patch.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 6457f5f270..171ba32e25 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -961,6 +961,17 @@ is_na_patch() { test "$HUNK_NUM_FINAL" -ne 0 && return 1 fi ;; + src/po/Make*) + HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \ + '-I^\$\([_A-Z]+\)\.pot:' \ + "$patch" -- "${file}") + if test -n "$HUNKS"; then + HUNK_NUM_FINAL=$(echo "$HUNKS" | grep '^@@ .* @@' | sed 's/^@@ .* @@ //' | grep -cv \ + -e '^\$([_A-Z]\+)\.pot:' \ + -e '^clean:') + 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 = ' \