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

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

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jan 14, 2015, 20:47 UTC
Message-ID
<CAPig+cSgXQrsmi7D7crxHuRvDgu_1Oq32dtNsvqX+o1+-A7eYA@mail.gmail.com>
In-Reply-To
<1421256839-28660-1-git-send-email-kuleshovmail@gmail.com>

On Wed, Jan 14, 2015 at 12:33 PM, Alexander Kuleshov <kuleshovmail@gmail.com> wrote:

Show 21 quoted lines
> 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>
> ---
> diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
> index 648a6cd..1d94fe8 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]

I realize that you copied/pasted the text from git-init.txt, but this should really be [<directory>].

While you're at it, you could fix it in git-init.txt, as well, and adjust the formatting of...

    If you provide a 'directory', ...
to say:
    If you provide <directory>, ...
Previous: Alexander KuleshovNext: Alex Henrie
Message 2 of 3 in “Documentation/init-db.txt: minor style and synopsys fixes”
  1. Documentation/init-db.txt: minor style and synopsys fixesAlexander Kuleshov, Jan 14, 2015
  2. Eric SunshineJan 14, 2015
  3. Alex HenrieJan 14, 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.