{"thread":{"id":"11316","subject":"[PATCH] Clean up documentation that references deprecated 'git peek-remote'.","startedAt":"2007-12-17T09:08:23Z","lastAt":"2007-12-18T00:11:55Z","messageCount":2,"participants":["Johannes Sixt","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"63386","messageId":"1197882503-4296-1-git-send-email-johannes.sixt@telecom.at","threadId":"11316","inReplyTo":null,"subject":"[PATCH] Clean up documentation that references deprecated 'git peek-remote'.","fromName":"Johannes Sixt","fromEmail":"johannes.sixt@telecom.at","sentAt":"2007-12-17T09:08:23Z","receivedAt":"2007-12-17T09:08:23Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Now that 'git peek-remote' is deprecated and only an alias for\n'git ls-remote', it should not be referenced from other manual pages.\n\nThis also removes the description of the --exec option, which is no\nlonger present.\n\nSigned-off-by: Johannes Sixt <johannes.sixt@telecom.at>\n---\n Documentation/git-daemon.txt      |    6 +++---\n Documentation/git-ls-remote.txt   |    2 +-\n Documentation/git-peek-remote.txt |    3 ---\n Documentation/git-show-ref.txt    |    2 +-\n 4 files changed, 5 insertions(+), 8 deletions(-)\n\ndiff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt\nindex 99e47c9..f1e48dd 100644\n--- a/Documentation/git-daemon.txt\n+++ b/Documentation/git-daemon.txt\n@@ -31,8 +31,8 @@ pass some directory paths as 'git-daemon' arguments, you can further restrict\n the offers to a whitelist comprising of those.\n \n By default, only `upload-pack` service is enabled, which serves\n-`git-fetch-pack` and `git-peek-remote` clients that are invoked\n-from `git-fetch`, `git-ls-remote`, and `git-clone`.\n+`git-fetch-pack` and `git-ls-remote` clients, which are invoked\n+from `git-fetch`, `git-pull`, and `git-clone`.\n \n This is ideally suited for read-only updates, i.e., pulling from\n git repositories.\n@@ -166,7 +166,7 @@ the per-repository configuration file can be used to enable or\n disable them.\n \n upload-pack::\n-\tThis serves `git-fetch-pack` and `git-peek-remote`\n+\tThis serves `git-fetch-pack` and `git-ls-remote`\n \tclients.  It is enabled by default, but a repository can\n \tdisable it by setting `daemon.uploadpack` configuration\n \titem to `false`.\ndiff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt\nindex 93e9a60..445beda 100644\n--- a/Documentation/git-ls-remote.txt\n+++ b/Documentation/git-ls-remote.txt\n@@ -30,7 +30,7 @@ OPTIONS\n \tSpecify the full path of gitlink:git-upload-pack[1] on the remote\n \thost. This allows listing references from repositories accessed via\n \tSSH and where the SSH daemon does not use the PATH configured by the\n-\tuser. Also see the '--exec' option for gitlink:git-peek-remote[1].\n+\tuser.\n \n <repository>::\n \tLocation of the repository.  The shorthand defined in\ndiff --git a/Documentation/git-peek-remote.txt b/Documentation/git-peek-remote.txt\nindex 38a5325..09b005b 100644\n--- a/Documentation/git-peek-remote.txt\n+++ b/Documentation/git-peek-remote.txt\n@@ -28,9 +28,6 @@ OPTIONS\n \tshells, but prefer having a lean .bashrc file (they set most of\n \tthe things up in .bash_profile).\n \n-\\--exec=<git-upload-pack>::\n-\tSame \\--upload-pack=<git-upload-pack>.\n-\n <host>::\n \tA remote host that houses the repository.  When this\n \tpart is specified, 'git-upload-pack' is invoked via\ndiff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt\nindex 2355aa5..7893a50 100644\n--- a/Documentation/git-show-ref.txt\n+++ b/Documentation/git-show-ref.txt\n@@ -160,7 +160,7 @@ to get a listing of all tags together with what they dereference.\n \n SEE ALSO\n --------\n-gitlink:git-ls-remote[1], gitlink:git-peek-remote[1]\n+gitlink:git-ls-remote[1]\n \n AUTHORS\n -------\n-- \n1.5.4.rc0.73.gcaffa\n"},{"id":"63528","messageId":"7vy7bs50ac.fsf@gitster.siamese.dyndns.org","threadId":"11316","inReplyTo":"1197882503-4296-1-git-send-email-johannes.sixt@telecom.at","subject":"Re: [PATCH] Clean up documentation that references deprecated 'git peek-remote'.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2007-12-18T00:11:55Z","receivedAt":"2007-12-18T00:11:55Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Sixt <johannes.sixt@telecom.at> writes:\n\n> Now that 'git peek-remote' is deprecated and only an alias for\n> 'git ls-remote', it should not be referenced from other manual pages.\n>\n> This also removes the description of the --exec option, which is no\n> longer present.\n\nIt seems to be supported as a backward compatibility option but not\nshown in the short help.  Removal of it from the documentation is\nalright nevertheless.\n\nThanks.\n"}]}