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

Re: [PATCH v2] Documentation/init-db.txt: minor style and synopsys fixes

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Jan 15, 2015, 17:08 UTC
Message-ID
<CANCZXo6j6zXX8yrBV=OZpxZPzsf701f79YyQgvWJ+kQ3Dj0qUA@mail.gmail.com>
In-Reply-To
<CAPig+cTHDf6S-R6DEZ3mV+wNhn9KojsoMy_ogg7wG4aPWnvUpA@mail.gmail.com>
Yes, right,

how to do it better? Something like: Documentation, init-db/init:.....? Or something else?

Thank you
2015-01-15 22:50 GMT+06:00 Eric Sunshine <sunshine@sunshineco.com>:
Show 60 quoted lines
> On Thu, Jan 15, 2015 at 5:31 AM, Alexander Kuleshov
> <kuleshovmail@gmail.com> wrote:
>> Subject: Documentation/init-db.txt: minor style and synopsys fixes
>
> Subject is incorrect now that you're modifying git-init-db.txt and git-init.txt.
>
>> This patch constists of two minor changes:
>>
>> * line-wrap 'git init-db' synopsis
>>
>> * last possible argument '[<directory>]' was missed
>>
>> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
>> ---
>>  Documentation/git-init-db.txt | 5 +++--
>>  Documentation/git-init.txt    | 6 +++---
>>  2 files changed, 6 insertions(+), 5 deletions(-)
>>
>> diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
>> index 648a6cd..2c77aaa 100644
>> --- a/Documentation/git-init-db.txt
>> +++ b/Documentation/git-init-db.txt
>> @@ -9,8 +9,9 @@ git-init-db - Creates an empty Git repository
>>  SYNOPSIS
>>  --------
>>  [verse]
>> -'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>] [--separate-git-dir <git dir>] [--shared[=<permissions>]]
>> -
>> +'git init-db' [-q | --quiet] [--bare] [--template=<template_directory>]
>> +            [--separate-git-dir <git-dir>]
>> +            [--shared[=<permissions>]] [<directory>]
>>
>>  DESCRIPTION
>>  -----------
>> diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt
>> index 369f889..25412ac 100644
>> --- a/Documentation/git-init.txt
>> +++ b/Documentation/git-init.txt
>> @@ -10,8 +10,8 @@ SYNOPSIS
>>  --------
>>  [verse]
>>  'git init' [-q | --quiet] [--bare] [--template=<template_directory>]
>> -         [--separate-git-dir <git dir>]
>> -         [--shared[=<permissions>]] [directory]
>> +         [--separate-git-dir <git-dir>]
>> +         [--shared[=<permissions>]] [<directory>]
>>
>>
>>  DESCRIPTION
>> @@ -108,7 +108,7 @@ By default, the configuration flag `receive.denyNonFastForwards` is enabled
>>  in shared repositories, so that you cannot force a non fast-forwarding push
>>  into it.
>>
>> -If you provide a 'directory', the command is run inside it. If this directory
>> +If you provide a <directory>, the command is run inside it. If this directory
>>  does not exist, it will be created.
>>
>>  --
>> --
>> 2.3.0.rc0.314.g170a664.dirty
-- 
_________________________
0xAX
Previous: Eric SunshineNext: Eric Sunshine
Message 3 of 5 in “Documentation/init-db.txt: minor style and synopsys fixes”
  1. Documentation/init-db.txt: minor style and synopsys fixesAlexander Kuleshov, Jan 15, 2015
  2. Eric SunshineJan 15, 2015
  3. Alexander KuleshovJan 15, 2015
  4. Eric SunshineJan 15, 2015
  5. Junio C HamanoJan 15, 2015

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.