# [PATCH] Clean up documentation that references deprecated 'git peek-remote'.

2 messages from 2007-12-17 to 2007-12-18. Participants: Johannes Sixt, Junio C Hamano.
Thread: https://gitlist.dev/t/11316

## Johannes Sixt, 2007-12-17 09:08

Subject: [PATCH] Clean up documentation that references deprecated 'git peek-remote'.
Message-ID: <1197882503-4296-1-git-send-email-johannes.sixt@telecom.at>
URL: https://gitlist.dev/e/1197882503-4296-1-git-send-email-johannes.sixt%40telecom.at

```
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>
---
 Documentation/git-daemon.txt      |    6 +++---
 Documentation/git-ls-remote.txt   |    2 +-
 Documentation/git-peek-remote.txt |    3 ---
 Documentation/git-show-ref.txt    |    2 +-
 4 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 99e47c9..f1e48dd 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -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
 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`.
diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt
index 93e9a60..445beda 100644
--- a/Documentation/git-ls-remote.txt
+++ b/Documentation/git-ls-remote.txt
@@ -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
diff --git a/Documentation/git-peek-remote.txt b/Documentation/git-peek-remote.txt
index 38a5325..09b005b 100644
--- a/Documentation/git-peek-remote.txt
+++ b/Documentation/git-peek-remote.txt
@@ -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
diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt
index 2355aa5..7893a50 100644
--- a/Documentation/git-show-ref.txt
+++ b/Documentation/git-show-ref.txt
@@ -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
 -------
-- 
1.5.4.rc0.73.gcaffa

```

## Junio C Hamano, 2007-12-18 00:11

Subject: Re: [PATCH] Clean up documentation that references deprecated 'git peek-remote'.
Message-ID: <7vy7bs50ac.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vy7bs50ac.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <1197882503-4296-1-git-send-email-johannes.sixt@telecom.at>

```
Johannes Sixt <johannes.sixt@telecom.at> writes:

> 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.

It seems to be supported as a backward compatibility option but not
shown in the short help.  Removal of it from the documentation is
alright nevertheless.

Thanks.

```
