aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-16 20:19:26 +0800
committerGitHub <noreply@github.com>2024-02-16 20:19:26 +0800
commitd040b7341ec53317178cd75e9706c0a0ac0194d2 (patch)
tree2b57cecfc02f48e279532fa6f3bd5d1803c8ac05 /scripts/vim-patch.sh
parent47eb57a4d66d4e84a2de47a822be85717da0b538 (diff)
downloadrneovim-d040b7341ec53317178cd75e9706c0a0ac0194d2.tar.gz
rneovim-d040b7341ec53317178cd75e9706c0a0ac0194d2.tar.bz2
rneovim-d040b7341ec53317178cd75e9706c0a0ac0194d2.zip
build(vim-patch.sh): don't add vim/vim to issue of another repo (#27493)
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index c7ccc3992d..660b8b6bb0 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -174,7 +174,7 @@ assign_commit_details() {
vim_commit_url="https://github.com/vim/vim/commit/${vim_commit}"
vim_message="$(git -C "${VIM_SOURCE_DIR}" log -1 --pretty='format:%B' "${vim_commit}" \
- | sed -Ee 's/(#[0-9]{1,})/vim\/vim\1/g')"
+ | sed -Ee 's/(\W)(#[0-9]{1,})/\1vim\/vim\2/g')"
local vim_coauthor0
vim_coauthor0="$(git -C "${VIM_SOURCE_DIR}" log -1 --pretty='format:Co-authored-by: %an <%ae>' "${vim_commit}")"
# Extract co-authors from the commit message.