Skip to contentSkip to conversation

config.txt: Describe special 'none' handling in core.gitProxy.

PATCH In review Emil Sit 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore

Emil Sit

author
#0 lore raw

PATCH 1/1 config.txt: Describe special 'none' handling in core.gitProxy.

---
I noticed none support in connect.c that was not documented in config.txt. Here's a small patch to explain it.

 Documentation/config.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Documentation/config.txt +5 -0
index 56bd781..d5532d2 100644
@@ -221,6 +221,11 @@ core.gitProxy::
 Can be overridden by the 'GIT_PROXY_COMMAND' environment variable
 (which always applies universally, without the special "for"
 handling).
++
+The special string `none` can be used as the proxy command to
+specify that no proxy be used for a given domain pattern.
+This is useful for excluding servers inside a firewall from
+proxy use, while defaulting to a common proxy for external domains.
 
 core.ignoreStat::
 	If true, commands which modify both the working tree and the index
Signature · 3 lines
1.6.1
-- 
Emil Sit / http://www.emilsit.net/