Skip to content

Commit

Permalink
Fix documentation for core.gitproxy to reflect code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Symonds authored and Junio C Hamano committed Aug 3, 2007
1 parent d825a97 commit 29093c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions Documentation/git-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
------------


Expand Down

0 comments on commit 29093c2

Please sign in to comment.