aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-09-04 10:16:57 -0400
committerGitHub <noreply@github.com>2020-09-04 10:16:57 -0400
commitdd465bbccc72665a8e4dbfde09aa7f866b328fef (patch)
tree3c5bdd7502487942dae7d70a4307eb60392509fd /scripts/vim-patch.sh
parent3acfefb63ee70c8eac13bf6b308a0e73e6fb8007 (diff)
parentb163a8992583926de63a0eccc5678705475677e4 (diff)
downloadrneovim-dd465bbccc72665a8e4dbfde09aa7f866b328fef.tar.gz
rneovim-dd465bbccc72665a8e4dbfde09aa7f866b328fef.tar.bz2
rneovim-dd465bbccc72665a8e4dbfde09aa7f866b328fef.zip
Merge pull request #12848 from jamessan/vim-8.2.1552
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 9c4349abca..03f52bd162 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -346,7 +346,8 @@ submit_pr() {
local patches
# Extract just the "vim-patch:X.Y.ZZZZ" or "vim-patch:sha" portion of each log
patches=("$(git log --grep=vim-patch --reverse --format='%s' "${git_remote}"/master..HEAD | sed 's/: .*//')")
- patches=("${patches[@]//vim-patch:}") # Remove 'vim-patch:' prefix for each item in array.
+ # shellcheck disable=SC2206
+ patches=(${patches[@]//vim-patch:}) # Remove 'vim-patch:' prefix for each item in array.
local pr_title="${patches[*]}" # Create space-separated string from array.
pr_title="${pr_title// /,}" # Replace spaces with commas.