aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2016-04-24 13:49:00 +0200
committerDaniel Hahler <git@thequod.de>2016-04-24 19:07:41 +0200
commita9f97226ae4a536f699baa6d29d86063036fffa9 (patch)
tree2d372f6ca74a1d452c2e84b46ee801c20aed81f3 /scripts
parent3098b18a2b63a841351f6d5e3697cb69db3035ef (diff)
downloadrneovim-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-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() {