vim-patch.sh: improve performance with -l [ci skip] #10165

Down to < 1s now also (without get_vim_sources).
This commit is contained in:
Daniel Hahler
2019-06-09 16:01:19 +02:00
committed by Justin M. Keyes
parent 0b4c53fc23
commit a2bb63c182

View File

@@ -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