mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 01:02:09 +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
|
||||
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
|
||||
runtime_commits[$commit]=1
|
||||
done
|
||||
|
Reference in New Issue
Block a user