Skip to content

Commit 22f4b15

Browse files
committed
Merge branch 'nd/ls-remote-does-not-have-u-option' into maint
* nd/ls-remote-does-not-have-u-option: ls-remote.txt: delete unsupported option
2 parents 1c7dc12 + 29bc480 commit 22f4b15

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Documentation/git-ls-remote.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-ls-remote - List references in a remote repository
99
SYNOPSIS
1010
--------
1111
[verse]
12-
'git ls-remote' [--heads] [--tags] [-u <exec> | --upload-pack <exec>]
12+
'git ls-remote' [--heads] [--tags] [--upload-pack=<exec>]
1313
[--exit-code] <repository> [<refs>...]
1414

1515
DESCRIPTION
@@ -29,7 +29,6 @@ OPTIONS
2929
both, references stored in refs/heads and refs/tags are
3030
displayed.
3131

32-
-u <exec>::
3332
--upload-pack=<exec>::
3433
Specify the full path of 'git-upload-pack' on the remote
3534
host. This allows listing references from repositories accessed via

builtin/ls-remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "remote.h"
55

66
static const char ls_remote_usage[] =
7-
"git ls-remote [--heads] [--tags] [-u <exec> | --upload-pack <exec>]\n"
7+
"git ls-remote [--heads] [--tags] [--upload-pack=<exec>]\n"
88
" [-q | --quiet] [--exit-code] [--get-url] [<repository> [<refs>...]]";
99

1010
/*

0 commit comments

Comments
 (0)