commit d040b7341ec53317178cd75e9706c0a0ac0194d2
parent 47eb57a4d66d4e84a2de47a822be85717da0b538
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 16 Feb 2024 20:19:26 +0800
build(vim-patch.sh): don't add vim/vim to issue of another repo (#27493)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.