git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix documentation for core.gitproxy to reflect code

From
David Symonds <dsymonds@gmail.com>
Date
Aug 2, 2007, 22:45 UTC
Message-ID
<ee77f5c20708021545s54bc226ds4c1c4589c6617c00@mail.gmail.com>
In-Reply-To
<7vtzrhvgpc.fsf@assigned-by-dhcp.cox.net>
The current implementation of core.gitproxy only operates on git:// URLs, so
the ssh:// examples and custom protocol examples have been removed or edited.
---
 Documentation/config.txt     |    2 +-
 Documentation/git-config.txt |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 3135cb7..de9e72b 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -101,7 +101,7 @@ Example

        # Proxy settings
        [core]
-               gitProxy="ssh" for "ssh://kernel.org/"
+               gitProxy="ssh" for "kernel.org"
                gitProxy=default-proxy ; for the rest

 Variables
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 8451ccc..c3dffff 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -214,9 +214,7 @@ Given a .git/config like this:

        ; Proxy settings
        [core]
-               gitproxy="ssh" for "ssh://kernel.org/"
                gitproxy="proxy-command" for kernel.org
-               gitproxy="myprotocol-command" for "my://"
                gitproxy=default-proxy ; for all the rest

 you can set the filemode to true with
@@ -291,7 +289,7 @@ To actually match only values with an exclamation mark, you
have to
 To add a new proxy, without altering any of the existing ones, use

 ------------
-% git config core.gitproxy '"proxy" for example.com'
+% git config core.gitproxy '"proxy-command" for example.com'
 ------------
-- 
1.5.2.4
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “Fix documentation for core.gitproxy to reflect code”
  1. Fix documentation for core.gitproxy to reflect codeDavid Symonds, Aug 2, 2007
  2. Junio C HamanoAug 2, 2007
  3. David SymondsAug 2, 2007
  4. Junio C HamanoAug 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.