Fix documentation for core.gitproxy to reflect code
The current implementation of core.gitproxy only operates on git:// URLs, so the ssh:// examples and custom protocol examples have been removed or edited. Signed-off-by: Junio C Hamano <gitster@pobox.com>
David Symonds committed
Aug 3, 2007 at 08:45 UTC
29093c28a21d75500e9388ad103b9af9a0bab1ae
2 files changed
+2
-4
Documentation/config.txt
+1
-1
@@ -101,7 +101,7 @@ Example
101
102
# Proxy settings
103
[core]
104
- gitProxy="ssh" for "ssh://kernel.org/"
104
+ gitProxy="ssh" for "kernel.org"
105
gitProxy=default-proxy ; for the rest
106
107
Variables
Documentation/git-config.txt
+1
-3
@@ -214,9 +214,7 @@ Given a .git/config like this:
214
215
; Proxy settings
216
[core]
217
- gitproxy="ssh" for "ssh://kernel.org/"
217
gitproxy="proxy-command" for kernel.org
219
- gitproxy="myprotocol-command" for "my://"
218
gitproxy=default-proxy ; for all the rest
219
220
you can set the filemode to true with
@@ -291,7 +289,7 @@ To actually match only values with an exclamation mark, you have to
289
To add a new proxy, without altering any of the existing ones, use
290
291
------------
294
-% git config core.gitproxy '"proxy" for example.com'
292
+% git config core.gitproxy '"proxy-command" for example.com'
293
------------
294
295