diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2026-09-07 00:39:50 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2026-09-07 13:37:34 -0400 |
| commit | 53b372d4430aaa15cebeed8b39f08d050e2843c8 (patch) | |
| tree | 1049f78548ef76dc86bca77ea78c6e2b9453fc31 /scripts | |
| parent | e475939fcfc3262bf8638f6bdd8efafe675d709d (diff) | |
| download | rneovim-53b372d4430aaa15cebeed8b39f08d050e2843c8.tar.gz rneovim-53b372d4430aaa15cebeed8b39f08d050e2843c8.tar.bz2 rneovim-53b372d4430aaa15cebeed8b39f08d050e2843c8.zip | |
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
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vim-patch.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 = ' \ |