mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
vim-patch: Update regex for included_patches array (#6449)
28dafe3ff
const-ified the array without updating the regex.
[ci skip]
This commit is contained in:

committed by
Justin M. Keyes

parent
cde51dd6f4
commit
210b013ce7
@@ -321,7 +321,7 @@ list_vim_patches() {
|
||||
local is_missing
|
||||
local vim_tag
|
||||
# This fails for untagged commits (e.g., runtime file updates) so mask the return status
|
||||
vim_tag="$(cd "${VIM_SOURCE_DIR}" && git describe --tags --exact-match "${vim_commit}" 2>/dev/null)" || true
|
||||
vim_tag="$(cd "${VIM_SOURCE_DIR}" && git describe --tags --exact-match "${vim_commit}" 2>/dev/null)" || true
|
||||
if [[ -n "${vim_tag}" ]]; then
|
||||
local patch_number="${vim_tag:5}" # Remove prefix like "v7.4."
|
||||
# Tagged Vim patch, check version.c:
|
||||
|
Reference in New Issue
Block a user