threads / patch / 18355

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

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

## tl;dr

2 messages between Mar 17, 2009 and Mar 18, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Emil Sit· Mar 17, 2009, 17:31 UTC · lore
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(-)
Show changes to Documentation/config.txt +5 −0
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/

← back to recent threads