mirror of
https://github.com/neovim/neovim.git
synced 2026-09-10 07:55:51 +00:00
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
This commit is contained in:
@@ -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 = ' \
|
||||
|
||||
Reference in New Issue
Block a user