diff options
author | Daniel Hahler <git@thequod.de> | 2016-04-24 13:49:00 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2016-04-24 19:07:41 +0200 |
commit | a9f97226ae4a536f699baa6d29d86063036fffa9 (patch) | |
tree | 2d372f6ca74a1d452c2e84b46ee801c20aed81f3 /scripts | |
parent | 3098b18a2b63a841351f6d5e3697cb69db3035ef (diff) | |
download | rneovim-a9f97226ae4a536f699baa6d29d86063036fffa9.tar.gz rneovim-a9f97226ae4a536f699baa6d29d86063036fffa9.tar.bz2 rneovim-a9f97226ae4a536f699baa6d29d86063036fffa9.zip |
vim-patch.sh: fix/improve pattern with find_git_remote
Diffstat (limited to 'scripts')
-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() { |