Merge pull request #4636 from blueyed/vim-patch-fix-find_git_remote

vim-patch.sh: fix/improve pattern with find_git_remote
This commit is contained in:
Justin M. Keyes
2016-04-24 14:44:50 -04:00

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