Add rpc: to default protocol whitelist

Change-Id: I57e1c3d93c0ce56da9c487df65eb3d258e0260e8
This commit is contained in:
Jonathan Nieder 2016-02-26 18:53:54 -08:00
parent 4cfb6d7167
commit 203153e7bb

View File

@ -170,7 +170,7 @@ class GitCommand(object):
_setenv(env, 'GIT_CONFIG_PARAMETERS', s) _setenv(env, 'GIT_CONFIG_PARAMETERS', s)
if 'GIT_ALLOW_PROTOCOL' not in env: if 'GIT_ALLOW_PROTOCOL' not in env:
_setenv(env, 'GIT_ALLOW_PROTOCOL', _setenv(env, 'GIT_ALLOW_PROTOCOL',
'file:git:http:https:ssh:persistent-http:persistent-https:sso') 'file:git:http:https:ssh:persistent-http:persistent-https:sso:rpc')
if project: if project:
if not cwd: if not cwd: