Browse Source

Clean up documentation that references deprecated 'git peek-remote'.

Now that 'git peek-remote' is deprecated and only an alias for
'git ls-remote', it should not be referenced from other manual pages.

This also removes the description of the --exec option, which is no
longer present.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Johannes Sixt 17 years ago committed by Junio C Hamano
parent
commit
f029427259
  1. 6
      Documentation/git-daemon.txt
  2. 2
      Documentation/git-ls-remote.txt
  3. 3
      Documentation/git-peek-remote.txt
  4. 2
      Documentation/git-show-ref.txt

6
Documentation/git-daemon.txt

@ -31,8 +31,8 @@ pass some directory paths as 'git-daemon' arguments, you can further restrict @@ -31,8 +31,8 @@ pass some directory paths as 'git-daemon' arguments, you can further restrict
the offers to a whitelist comprising of those.

By default, only `upload-pack` service is enabled, which serves
`git-fetch-pack` and `git-peek-remote` clients that are invoked
from `git-fetch`, `git-ls-remote`, and `git-clone`.
`git-fetch-pack` and `git-ls-remote` clients, which are invoked
from `git-fetch`, `git-pull`, and `git-clone`.

This is ideally suited for read-only updates, i.e., pulling from
git repositories.
@ -166,7 +166,7 @@ the per-repository configuration file can be used to enable or @@ -166,7 +166,7 @@ the per-repository configuration file can be used to enable or
disable them.

upload-pack::
This serves `git-fetch-pack` and `git-peek-remote`
This serves `git-fetch-pack` and `git-ls-remote`
clients. It is enabled by default, but a repository can
disable it by setting `daemon.uploadpack` configuration
item to `false`.

2
Documentation/git-ls-remote.txt

@ -30,7 +30,7 @@ OPTIONS @@ -30,7 +30,7 @@ OPTIONS
Specify the full path of gitlink:git-upload-pack[1] on the remote
host. This allows listing references from repositories accessed via
SSH and where the SSH daemon does not use the PATH configured by the
user. Also see the '--exec' option for gitlink:git-peek-remote[1].
user.

<repository>::
Location of the repository. The shorthand defined in

3
Documentation/git-peek-remote.txt

@ -28,9 +28,6 @@ OPTIONS @@ -28,9 +28,6 @@ OPTIONS
shells, but prefer having a lean .bashrc file (they set most of
the things up in .bash_profile).

\--exec=<git-upload-pack>::
Same \--upload-pack=<git-upload-pack>.

<host>::
A remote host that houses the repository. When this
part is specified, 'git-upload-pack' is invoked via

2
Documentation/git-show-ref.txt

@ -160,7 +160,7 @@ to get a listing of all tags together with what they dereference. @@ -160,7 +160,7 @@ to get a listing of all tags together with what they dereference.

SEE ALSO
--------
gitlink:git-ls-remote[1], gitlink:git-peek-remote[1]
gitlink:git-ls-remote[1]

AUTHORS
-------

Loading…
Cancel
Save