Skip to content

Commit f029427

Browse files
Johannes Sixtgitster
authored andcommitted
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>
1 parent 5f48741 commit f029427

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

Documentation/git-daemon.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pass some directory paths as 'git-daemon' arguments, you can further restrict
3131
the offers to a whitelist comprising of those.
3232

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

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

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

Documentation/git-ls-remote.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OPTIONS
3030
Specify the full path of gitlink:git-upload-pack[1] on the remote
3131
host. This allows listing references from repositories accessed via
3232
SSH and where the SSH daemon does not use the PATH configured by the
33-
user. Also see the '--exec' option for gitlink:git-peek-remote[1].
33+
user.
3434

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

Documentation/git-peek-remote.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ OPTIONS
2828
shells, but prefer having a lean .bashrc file (they set most of
2929
the things up in .bash_profile).
3030

31-
\--exec=<git-upload-pack>::
32-
Same \--upload-pack=<git-upload-pack>.
33-
3431
<host>::
3532
A remote host that houses the repository. When this
3633
part is specified, 'git-upload-pack' is invoked via

Documentation/git-show-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ to get a listing of all tags together with what they dereference.
160160

161161
SEE ALSO
162162
--------
163-
gitlink:git-ls-remote[1], gitlink:git-peek-remote[1]
163+
gitlink:git-ls-remote[1]
164164

165165
AUTHORS
166166
-------

0 commit comments

Comments
 (0)