Re: [PATCH v3 2/3] doc: update the guidelines to reflect the current formatting rules
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 11, 2024, 23:56 UTC
- Message-ID
- <CAPig+cSGeExca0d=o0jewFERTx30+EgR5HccTO_gOsKtnXxuwA@mail.gmail.com>
- In-Reply-To
- <92f3121cf4e719d1bd6f85e3af454a3ea7547930.1723389612.git.gitgitgadget@gmail.com>
On Sun, Aug 11, 2024 at 11:20 AM Jean-Noël Avila via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 14 quoted lines
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> > --- > diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines > @@ -746,70 +746,72 @@ Markup: > When literal and placeholders are mixed, each markup is applied for > + each sub-entity. If the formatting is becoming too hairy, you can use the > + s:["foo"] formatting macro and let it format the groups for you. > + `--jobs` _<n>_ or s:["--jobs <n>"] > + s:["--sort=<key> > + s:["<directory>/.git"] > + s:["remote.<name>.mirror"] > + s:["ssh://[<user>@]<host>[:<port>]/<path-to-git-repo>"] > + > +Note that the double-quotes are required by the macro.
The closing `"]` is missing from the --sort example. Is that intentional?