summaryrefslogtreecommitdiff
path: root/builtin/ls-remote.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2015-09-28 12:30:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-09-28 18:07:04 (GMT)
commit29bc480aa1a33ace2866743fed2bf8aba5de4d91 (patch)
tree939c8a0630c10fe12c615dbc96c9868c3a5a5004 /builtin/ls-remote.c
parent74b67638166ca2e66497ede559dbf393e7af8b40 (diff)
downloadgit-29bc480aa1a33ace2866743fed2bf8aba5de4d91.zip
git-29bc480aa1a33ace2866743fed2bf8aba5de4d91.tar.gz
git-29bc480aa1a33ace2866743fed2bf8aba5de4d91.tar.bz2
ls-remote.txt: delete unsupported 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 'builtin/ls-remote.c')
-rw-r--r--builtin/ls-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/ls-remote.c b/builtin/ls-remote.c
index 4554dbc..5e9d545 100644
--- a/builtin/ls-remote.c
+++ b/builtin/ls-remote.c
@@ -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>...]]";
/*