Skip to contentSkip to conversation

fetch2: Allow GIT_SMART_HTTP to be passed through to the fetcher.

PATCH New Liam R. Howlett 1 participant 2 messages May 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetch2: Allow GIT_SMART_HTTP to be passed through to the fetcher.

Older servers may not be able to use GIT_SMART_HTTP transport. This allows the GIT_SMART_HTTP variable to be exported to the fetch command so users can set this to zero if required.

Liam R. Howlett (1):
fetch2: Allow GIT_SMART_HTTP to be passed through

 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.1.1
#1 lore raw

PATCH 1/1 fetch2: Allow GIT_SMART_HTTP to be passed through

Allow GIT_SMART_HTTP to be passed through to the fetch command so that servers that cannot use GIT_SMART_HTTP can be used by the fetcher.

---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/fetch2/__init__.py +1 -0
index 68f65a9..a40a88b 100644
@@ -795,6 +795,7 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
                   'ALL_PROXY', 'all_proxy',
                   'GIT_PROXY_COMMAND',
                   'GIT_SSL_CAINFO',
+                  'GIT_SMART_HTTP',
                   'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
                   'SOCKS5_USER', 'SOCKS5_PASSWD']
 
Signature · 1 line
2.1.1