Skip to content

Commit

Permalink
Merge branch 'nd/ls-remote-does-not-have-u-option' into maint
Browse files Browse the repository at this point in the history
* nd/ls-remote-does-not-have-u-option:
  ls-remote.txt: delete unsupported option
  • Loading branch information
Junio C Hamano committed Oct 16, 2015
2 parents 1c7dc12 + 29bc480 commit 22f4b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Documentation/git-ls-remote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion builtin/ls-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>...]]";

/*
Expand Down

0 comments on commit 22f4b15

Please sign in to comment.