vim-patch.sh: Fix PR subject with multiple patches

This commit is contained in:
James McCoy
2020-09-04 08:46:46 -04:00
parent 5707982bd3
commit b163a89925

View File

@@ -346,7 +346,8 @@ submit_pr() {
fi
local git_remote
git_remote="$(find_git_remote)"
git_remote="$(find_git_remote)"
local pr_body
pr_body="$(git log --grep=vim-patch --reverse --format='#### %s%n%n%b%n' "${git_remote}"/master..HEAD)"
local patches
# Extract just the "vim-patch:X.Y.ZZZZ" or "vim-patch:sha" portion of each log