diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2015-09-28 19:30:17 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-28 11:07:04 -0700 |
commit | 29bc480aa1a33ace2866743fed2bf8aba5de4d91 (patch) | |
tree | 939c8a0630c10fe12c615dbc96c9868c3a5a5004 /Documentation | |
parent | 74b67638166ca2e66497ede559dbf393e7af8b40 (diff) | |
download | git-29bc480aa1a33ace2866743fed2bf8aba5de4d91.tar.gz |
ls-remote.txt: delete unsupported optionnd/ls-remote-does-not-have-u-option
-u <exec> has never been supported, but it was mentioned since
0a2bb55 (git ls-remote: make usage string match manpage -
2008-11-11). Nobody has complained about it for seven years, it's
probably safe to say nobody cares. So let's remove "-u" in documents
instead of adding code to support it.
While at there, fix --upload-pack syntax too.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-ls-remote.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt index 2e22915eb8..d510c05e11 100644 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt @@ -9,7 +9,7 @@ git-ls-remote - List references in a remote repository SYNOPSIS -------- [verse] -'git ls-remote' [--heads] [--tags] [-u <exec> | --upload-pack <exec>] +'git ls-remote' [--heads] [--tags] [--upload-pack=<exec>] [--exit-code] <repository> [<refs>...] DESCRIPTION @@ -29,7 +29,6 @@ OPTIONS both, references stored in refs/heads and refs/tags are displayed. --u <exec>:: --upload-pack=<exec>:: Specify the full path of 'git-upload-pack' on the remote host. This allows listing references from repositories accessed via |