diff options
author | James McCoy <jamessan@jamessan.com> | 2017-02-06 19:43:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 19:43:12 -0500 |
commit | cca8d2751a238b7f64eec80fc74e786d358642ce (patch) | |
tree | 8b1e05bc701eac214befa9a9d753b6aaace253f6 /scripts | |
parent | 7c0d091404a40c321bb0ad720b6af4791128843c (diff) | |
parent | 1df492dd3a5d56e073bc5373c238c18f2bc99446 (diff) | |
download | rneovim-cca8d2751a238b7f64eec80fc74e786d358642ce.tar.gz rneovim-cca8d2751a238b7f64eec80fc74e786d358642ce.tar.bz2 rneovim-cca8d2751a238b7f64eec80fc74e786d358642ce.zip |
Merge pull request #6064 from jamessan/patch-review-preprocess
vim-patch: Use get_vim_patch to retrieve patch for review
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vim-patch.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 88fb3cae04..ad0317aa4b 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -379,8 +379,6 @@ review_commit() { assign_commit_details "${vim_version}" - local vim_patch_url="${vim_commit_url}.patch" - local expected_commit_message expected_commit_message="$(commit_message)" local message_length @@ -403,8 +401,7 @@ review_commit() { echo "✔ Saved pull request diff to '${NVIM_SOURCE_DIR}/n${patch_file}'." CREATED_FILES+=("${NVIM_SOURCE_DIR}/n${patch_file}") - curl -Ssfo "${NVIM_SOURCE_DIR}/${patch_file}" "${vim_patch_url}" - echo "✔ Saved Vim diff to '${NVIM_SOURCE_DIR}/${patch_file}'." + get_vim_patch "${vim_version}" CREATED_FILES+=("${NVIM_SOURCE_DIR}/${patch_file}") echo |