# [PATCH] config.txt: Describe special 'none' handling in core.gitProxy.

2 messages from 2009-03-17 to 2009-03-18. Participants: Emil Sit, Junio C Hamano.
Thread: https://gitlist.dev/t/18355

## Emil Sit, 2009-03-17 17:31

Subject: [PATCH] config.txt: Describe special 'none' handling in core.gitProxy.
Message-ID: <1237311102.24607.1305895377@webmail.messagingengine.com>
URL: https://gitlist.dev/e/1237311102.24607.1305895377%40webmail.messagingengine.com

```

Signed-off-by: Emil Sit <sit@emilsit.net>
---
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(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 56bd781..d5532d2 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -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
-- 
1.6.1
-- 
Emil Sit / http://www.emilsit.net/

```

## Junio C Hamano, 2009-03-18 05:41

Subject: Re: [PATCH] config.txt: Describe special 'none' handling in core.gitProxy.
Message-ID: <7viqm7mlq5.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7viqm7mlq5.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <1237311102.24607.1305895377@webmail.messagingengine.com>

```
Thanks.

```
