vim-patch.sh: fix/improve pattern with find_git_remote

This commit is contained in:
Daniel Hahler
2016-04-24 13:49:00 +02:00
parent 3098b18a2b
commit a9f97226ae

View File

@@ -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() {