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

[PATCH] ls-remote documentation: <refs> argument is optional

From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date
Mar 9, 2011, 20:03 UTC
Message-ID
<4D77DD24.6040806@gmail.com>
Correct SYNOPSIS section.
Signed-off-by: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
---
 Documentation/git-ls-remote.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt
index abe7bf9..3422765 100644
--- a/Documentation/git-ls-remote.txt
+++ b/Documentation/git-ls-remote.txt
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git ls-remote' [--heads] [--tags]  [-u <exec> | --upload-pack <exec>]
-	      <repository> <refs>...
+	      <repository> [<refs>...]
 
 DESCRIPTION
 -----------
-- 
1.7.4.1.208.gf7c6c.dirty


-- 
Piotr Krukowiecki
Message 1 of 1 in “ls-remote documentation: <refs> argument is optional”
  1. ls-remote documentation: <refs> argument is optionalPiotr Krukowiecki, Mar 9, 2011

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.