Subject: CVS commit: pkgsrc/net/hub
From: Leonardo Taccari
Date: 2018-06-10 12:42:57
Message id: 20180610104257.270C3FBEC@cvs.NetBSD.org

Log Message:
hub: Avoid possible vim-isms when vi(1) is used

If the editor used matches the `\b(?:[gm]?vim|vi)(?:\.exe)?$' regular
expression hub automatically add as arguments `--cmd'. The `--cmd' passed is
probably supported only by vim so delete the `|vi' from the RE in order to not
append possible non-standard arguments to non-vim vi-s.

(This was spotted using `hub pull-request' that failed due non supported
argument passed to vi)

Bump PKGREVISION

Files:
RevisionActionfile
1.6modifypkgsrc/net/hub/Makefile
1.3modifypkgsrc/net/hub/distinfo
1.1addpkgsrc/net/hub/patches/patch-github_editor.go