aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-04-24 14:44:50 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-04-24 14:44:50 -0400
commitab63f5d93436094393b0d42d36b69b28e87252f6 (patch)
tree52eaa148b5949a9deb556ff75d5a18cea416a2ef /scripts/vim-patch.sh
parent1cc869ffb98756b2efe1885fde1784f552513d22 (diff)
parenta9f97226ae4a536f699baa6d29d86063036fffa9 (diff)
downloadrneovim-ab63f5d93436094393b0d42d36b69b28e87252f6.tar.gz
rneovim-ab63f5d93436094393b0d42d36b69b28e87252f6.tar.bz2
rneovim-ab63f5d93436094393b0d42d36b69b28e87252f6.zip
Merge pull request #4636 from blueyed/vim-patch-fix-find_git_remote
vim-patch.sh: fix/improve pattern with find_git_remote
Diffstat (limited to 'scripts/vim-patch.sh')
-rwxr-xr-xscripts/vim-patch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 17df9b1aaa..70777535cb 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -87,7 +87,8 @@ commit_message() {
}
find_git_remote() {
- git remote -v | awk '/neovim\/neovim.*(fetch)/{print $1}'
+ git remote -v \
+ | awk '$2 ~ /github.com[:/]neovim\/neovim/ && $3 == "(fetch)" {print $1}'
}
assign_commit_details() {