mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-patch.sh: Replace #<number> with vim/vim#<number> in commit messages.
This commit is contained in:
parent
cc6299ecbc
commit
e65fce8ed3
@ -104,7 +104,8 @@ 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}")"
|
||||
&& git log -1 --pretty='format:%B' "${vim_commit}" \
|
||||
| sed -e 's/\(#[0-9]*\)/vim\/vim\1/g')"
|
||||
if [[ ${strip_commit_line} == "true" ]]; then
|
||||
# Remove first line of commit message.
|
||||
vim_message="$(echo "${vim_message}" | sed -e '1d')"
|
||||
|
Loading…
Reference in New Issue
Block a user