{"thread":{"id":"20534","subject":"[PATCH] [TRIVIAL] Documentation: add: <filepattern>... is optional","startedAt":"2009-08-11T13:03:10Z","lastAt":"2009-08-11T15:06:45Z","messageCount":3,"participants":["Paul Bolle","Nicolas Sebrecht"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"120262","messageId":"1249995790.1589.2.camel@localhost.localdomain","threadId":"20534","inReplyTo":null,"subject":"[PATCH] [TRIVIAL] Documentation: add: <filepattern>... is optional","fromName":"Paul Bolle","fromEmail":"pebolle@tiscali.nl","sentAt":"2009-08-11T13:03:10Z","receivedAt":"2009-08-11T13:03:10Z","isPatch":true,"sender":{"key":"pebolle@tiscali.nl","avatar":null},"body":"<filepattern>... is optional (e.g. when the --all or --update\noptions are used) so use square brackets in the synopsis.\n\nSigned-off-by: Paul Bolle <pebolle@tiscali.nl>\n---\n Documentation/git-add.txt |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-add.txt b/Documentation/git-add.txt\nindex ab1943c..e67b7e8 100644\n--- a/Documentation/git-add.txt\n+++ b/Documentation/git-add.txt\n@@ -10,7 +10,7 @@ SYNOPSIS\n [verse]\n 'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]\n \t  [--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N]\n-\t  [--refresh] [--ignore-errors] [--] <filepattern>...\n+\t  [--refresh] [--ignore-errors] [--] [<filepattern>...]\n \n DESCRIPTION\n -----------\n-- \n1.6.4\n"},{"id":"120273","messageId":"20090811145041.GB12956@vidovic","threadId":"20534","inReplyTo":"1249995790.1589.2.camel@localhost.localdomain","subject":"[PATCH] Re: [TRIVIAL] Documentation: add: <filepattern>... is optional","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2009-08-11T14:50:41Z","receivedAt":"2009-08-11T14:50:41Z","isPatch":true,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 11/08/09, Paul Bolle wrote:\n\n> <filepattern>... is optional (e.g. when the --all or --update\n> options are used) so use square brackets in the synopsis.\n\nSo <filepattern> is needed in all other cases. The '-u' description\nalready has\n\n\t\" If no paths are specified, all tracked files in the current\n  directory and its subdirectories are updated. \"\n\nand '-a' refers to '-u'\n\n  \"(same as --update)\"\n\n.\n\n-- \nNicolas Sebrecht\n"},{"id":"120277","messageId":"1250003205.2707.11.camel@localhost.localdomain","threadId":"20534","inReplyTo":"20090811145041.GB12956@vidovic","subject":"Re: [PATCH] Re: [TRIVIAL] Documentation: add: <filepattern>... is optional","fromName":"Paul Bolle","fromEmail":"pebolle@tiscali.nl","sentAt":"2009-08-11T15:06:45Z","receivedAt":"2009-08-11T15:06:45Z","isPatch":true,"sender":{"key":"pebolle@tiscali.nl","avatar":null},"body":"On Tue, 2009-08-11 at 16:50 +0200, Nicolas Sebrecht wrote:\n> The 11/08/09, Paul Bolle wrote:\n> \n> > <filepattern>... is optional (e.g. when the --all or --update\n> > options are used) so use square brackets in the synopsis.\n> \n> So <filepattern> is needed in all other cases.\n\nSince it is an optional argument in those cases I'd say it is better to\nindicate that it is optional in the synopsis too.\n\n\nPaul Bolle\n"}]}