diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-24 14:44:50 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-24 14:44:50 -0400 |
commit | ab63f5d93436094393b0d42d36b69b28e87252f6 (patch) | |
tree | 52eaa148b5949a9deb556ff75d5a18cea416a2ef /scripts/vim-patch.sh | |
parent | 1cc869ffb98756b2efe1885fde1784f552513d22 (diff) | |
parent | a9f97226ae4a536f699baa6d29d86063036fffa9 (diff) | |
download | rneovim-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-x | scripts/vim-patch.sh | 3 |
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() { |