diff options
author | James McCoy <jamessan@jamessan.com> | 2018-08-09 15:36:05 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2018-08-09 20:10:41 -0400 |
commit | 68411dc1893507fd9259b283f6258124658428b1 (patch) | |
tree | b4fff96523a787cea167e634faeaa0e54dd03eba /scripts/vim-patch.sh | |
parent | cb7bdf5f920df089adab8a74d2522440ad2d1490 (diff) | |
download | rneovim-68411dc1893507fd9259b283f6258124658428b1.tar.gz rneovim-68411dc1893507fd9259b283f6258124658428b1.tar.bz2 rneovim-68411dc1893507fd9259b283f6258124658428b1.zip |
vim-patch.sh: Fix replacement which converts #1234 to vim/vim#1234
Noticed in cb7bdf5f, where the script incorrectly converted `#ifdef` to
`vim/vim#ifdef`.
[skip ci]
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-x | scripts/vim-patch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 59674eb63a..6dd411a34e 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -131,7 +131,7 @@ assign_commit_details() { vim_commit_url="https://github.com/vim/vim/commit/${vim_commit}" vim_message="$(cd "${VIM_SOURCE_DIR}" \ && git log -1 --pretty='format:%B' "${vim_commit}" \ - | sed -e 's/\(#[0-9]*\)/vim\/vim\1/g')" + | sed -e 's/\(#[0-9]\{1,\}\)/vim\/vim\1/g')" if [[ ${munge_commit_line} == "true" ]]; then # Remove first line of commit message. vim_message="$(echo "${vim_message}" | sed -e '1s/^patch /vim-patch:/')" |