mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
vim-patch.sh: improve performance with -l [ci skip] #10165
Down to < 1s now also (without get_vim_sources).
This commit is contained in:
committed by
Justin M. Keyes
parent
0b4c53fc23
commit
a2bb63c182
@@ -425,8 +425,13 @@ show_vimpatches() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Prints a human-formatted list of Vim commits, with instructional messages.
|
||||||
|
show_vimpatches() {
|
||||||
|
get_vim_sources
|
||||||
|
printf "\nVim patches missing from Neovim:\n"
|
||||||
|
|
||||||
# Prints a human-formatted list of Vim commits, with instructional messages.
|
local -A runtime_commits
|
||||||
for commit in $(git -C "${VIM_SOURCE_DIR}" log --format="%H %D" -- runtime | sed 's/,\? tag: / /g'); do
|
for commit in $(git -C "${VIM_SOURCE_DIR}" log --format="%H %D" -- runtime | sed 's/,\? tag: / /g'); do
|
||||||
runtime_commits[$commit]=1
|
runtime_commits[$commit]=1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user