diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-15 21:52:44 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-15 22:51:19 -0400 |
commit | 074745d9242acb6bba7252b13691afbe85439372 (patch) | |
tree | aa5d79b6b8f28f47a348cde946d72974df21adbe /scripts/vim-patch.sh | |
parent | 82b09bc9d21e4b5c50105fac558da84af43e3470 (diff) | |
download | rneovim-074745d9242acb6bba7252b13691afbe85439372.tar.gz rneovim-074745d9242acb6bba7252b13691afbe85439372.tar.bz2 rneovim-074745d9242acb6bba7252b13691afbe85439372.zip |
Fix shellcheck error SC2155
Close https://github.com/neovim/neovim/pull/11765
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index fe6dcc1147..8287958ab5 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -597,9 +597,10 @@ list_missing_previous_vimpatches_for_patch() { set -u local -a missing_unique + local stat while IFS= read -r line; do local commit="${line%%:*}" - local stat="$(git -C "${VIM_SOURCE_DIR}" show --format= --shortstat "${commit}")" + stat="$(git -C "${VIM_SOURCE_DIR}" show --format= --shortstat "${commit}")" missing_unique+=("$(printf '%s\n %s' "$line" "$stat")") done < <(printf '%s\n' "${missing_list[@]}" | sort -u) |