mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +00:00
vim-patch.sh: only show missing patches
This commit is contained in:
@@ -320,6 +320,7 @@ list_vim_patches() {
|
|||||||
for vim_commit in ${vim_commits}; do
|
for vim_commit in ${vim_commits}; do
|
||||||
local is_missing
|
local is_missing
|
||||||
local vim_tag
|
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
|
if [[ -n "${vim_tag}" ]]; then
|
||||||
local patch_number="${vim_tag:5}" # Remove prefix like "v7.4."
|
local patch_number="${vim_tag:5}" # Remove prefix like "v7.4."
|
||||||
|
|||||||
Reference in New Issue
Block a user