diff options
author | James McCoy <jamessan@jamessan.com> | 2018-08-09 20:11:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 20:11:44 -0400 |
commit | fcd58c59ebb648a518617b3daa48fd5ecd6ae735 (patch) | |
tree | baed85f49166680bc863c35b207a5d2c31c23425 /scripts/vim-patch.sh | |
parent | cf9dd7a3f473c5d523e7f248bfc6f83904fff74b (diff) | |
parent | 68411dc1893507fd9259b283f6258124658428b1 (diff) | |
download | rneovim-fcd58c59ebb648a518617b3daa48fd5ecd6ae735.tar.gz rneovim-fcd58c59ebb648a518617b3daa48fd5ecd6ae735.tar.bz2 rneovim-fcd58c59ebb648a518617b3daa48fd5ecd6ae735.zip |
Merge pull request #8838 from jamessan/vim-patch-issue-regex
vim-patch.sh: Fix replacement which converts #1234 to vim/vim#1234
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:/')" |