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

[PATCH] [TRIVIAL] Documentation: add: <filepattern>... is optional

From
PBPaul Bolle <pebolle@tiscali.nl>
Date
Aug 11, 2009, 13:03 UTC
Message-ID
<1249995790.1589.2.camel@localhost.localdomain>

<filepattern>... is optional (e.g. when the --all or --update options are used) so use square brackets in the synopsis.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
 Documentation/git-add.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ab1943c..e67b7e8 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -10,7 +10,7 @@ SYNOPSIS
 [verse]
 'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
 	  [--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N]
-	  [--refresh] [--ignore-errors] [--] <filepattern>...
+	  [--refresh] [--ignore-errors] [--] [<filepattern>...]
 
 DESCRIPTION
 -----------
-- 
1.6.4
Next: Nicolas Sebrecht
Message 1 of 3 in “[TRIVIAL] Documentation: add: <filepattern>... is optional”
  1. [TRIVIAL] Documentation: add: <filepattern>... is optionalPaul Bolle, Aug 11, 2009
  2. Re: [TRIVIAL] Documentation: add: <filepattern>... is optionalNicolas Sebrecht, Aug 11, 2009
  3. Paul BolleAug 11, 2009

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.