git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git ls-remote: make usage string match manpage

From
Stefan Naewe <stefan.naewe@atlas-elektronik.com>
Date
Nov 11, 2008, 15:52 UTC
Message-ID
<1226418751-18747-1-git-send-email-stefan.naewe@atlas-elektronik.com>

The usage string of 'git ls-remote' is pretty terse. The manpage however gives the correct 'synopsis'.

Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
---
 builtin-ls-remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c
index c21b841..78a88f7 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 [--upload-pack=<git-upload-pack>] [<host>:]<directory>";
+"git ls-remote [--heads] [--tags]  [-u <exec> | --upload-pack <exec>] <repository> <refs>...";
 
 /*
  * Is there one among the list of patterns that match the tail part
-- 
1.5.6.5
Next: Junio C Hamano
Message 1 of 2 in “git ls-remote: make usage string match manpage”
  1. git ls-remote: make usage string match manpageStefan Naewe, Nov 11, 2008
  2. Junio C HamanoNov 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.