mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #17324 from zeertzjq/vim-patch-sh-read
chore(vim-patch.sh): use piping instead of here string for `while read`
This commit is contained in:
commit
01e58fb14d
@ -576,13 +576,13 @@ show_vimpatches() {
|
||||
runtime_commits[$commit]=1
|
||||
done
|
||||
|
||||
while read -r vim_commit; do
|
||||
list_missing_vimpatches 1 "$@" | while read -r vim_commit; do
|
||||
if [[ "${runtime_commits[$vim_commit]-}" ]]; then
|
||||
printf ' • %s (+runtime)\n' "${vim_commit}"
|
||||
else
|
||||
printf ' • %s\n' "${vim_commit}"
|
||||
fi
|
||||
done <<< "$(list_missing_vimpatches 1 "$@")"
|
||||
done
|
||||
|
||||
cat << EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user