From e65fce8ed3cd9ead839527882119ca7c39c02cdd Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Wed, 17 Feb 2016 00:18:01 +0100 Subject: vim-patch.sh: Replace # with vim/vim# in commit messages. --- scripts/vim-patch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index d5b9a63fe5..7612a2ada0 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -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')" -- cgit