Merge branch 'nd/ls-remote-does-not-have-u-option'
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Oct 2015 21:30:19 +0000 (14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Oct 2015 21:30:19 +0000 (14:30 -0700)
* nd/ls-remote-does-not-have-u-option:
ls-remote.txt: delete unsupported option

Documentation/git-ls-remote.txt
builtin/ls-remote.c
index 2e22915eb857bd960f09afc725107198642bfd22..d510c05e11d3cbfb7fd1393331306e70bb7645db 100644 (file)
@@ -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
index 4554dbc8a98c0daaa67c8ea65f5ddf5c48f19383..5e9d5450b79713524eeeb981e4685725951cd9d2 100644 (file)
@@ -4,7 +4,7 @@
 #include "remote.h"
 
 static const char ls_remote_usage[] =
-"git ls-remote [--heads] [--tags]  [-u <exec> | --upload-pack <exec>]\n"
+"git ls-remote [--heads] [--tags]  [--upload-pack=<exec>]\n"
 "                     [-q | --quiet] [--exit-code] [--get-url] [<repository> [<refs>...]]";
 
 /*