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

Re: A tiny documentation patch

From
Thomas Rast <trast@student.ethz.ch>
Date
Aug 10, 2009, 14:59 UTC
Message-ID
<200908101659.28291.trast@student.ethz.ch>
In-Reply-To
<20090810144419.GB24183@headley>
Štěpán Němec wrote:
> here's the patch.

Please read Documentation/SubmittingPatches. In particular, you should send your patch inline (git-send-email can help) and add a Signed-off-by.

> I noticed a few typos in the git-remote manpage
[...]
> diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
[...]
> -In mirror mode, enabled with `\--mirror`, the refs will not be stored
> +In mirror mode, enabled with `--mirror`, the refs will not be stored
[...]
> -mode, furthermore, `git push` will always behave as if `\--mirror`
> +mode, furthermore, `git push` will always behave as if `--mirror`

While I'm not sure how far back you'd have to go to find an asciidoc that does need this escaping, it's definitely *not* a typo. In some instances, -- turns into em dashes.

If you are seeing stray backslashes in the output (I don't), I suspect you are either running asciidoc 8.x but forgot to set ASCIIDOC8, or 8.4.1+ and are missing the patch 71c020c (Disable asciidoc 8.4.1+ semantics for `{plus}` and friends, 2009-07-25).

> -With `--dry-run` option, report what branches will be pruned, but do no
> +With `--dry-run` option, report what branches will be pruned, but do not
>  actually prune them.
Ok.
>  remotes.<group>.  If a named group is not specified on the command line,
> -the configuration parameter remotes.default will get used; if
> +the configuration parameter remotes.default will be used; if
Ok.
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Štěpán NěmecNext: Michael J Gruber
Message 2 of 4 in “A tiny documentation patch”
  1. Štěpán NěmecAug 10, 2009
  2. Thomas RastAug 10, 2009
  3. Michael J GruberAug 11, 2009
  4. Junio C HamanoAug 12, 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.