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

[PATCH v2 0/4] doc: some more synopsis conversions and fixes

From
Jean-Noël Avila via GitGitGadget <gitgitgadget@gmail.com>
Date
Jan 26, 2026, 21:25 UTC
Message-ID
<pull.2036.v2.git.1769462744.gitgitgadget@gmail.com>
In-Reply-To
<pull.2036.git.1769202903.gitgitgadget@gmail.com>

This time, git-show and git-submodule are converted. Some mistakes on previous work were also spotted and fixed.

Changes since V1:
 * fix mistakes spotted by Kristoffer Haugsbakk
Jean-Noël Avila (4):
  convert git-submodule doc to synopsis style
  doc: finalize git-clone documentation conversion to synopsis style
  doc: fix some style issues in git-clone and for-each-ref-options
  doc: convert git-show to synopsis style
 Documentation/asciidoc.conf.in          |   6 +
 Documentation/for-each-ref-options.adoc |   4 +-
 Documentation/git-clone.adoc            |  52 ++--
 Documentation/git-show.adoc             |  16 +-
 Documentation/git-submodule.adoc        | 369 ++++++++++++------------
 Documentation/pretty-formats.adoc       | 164 ++++++-----
 6 files changed, 321 insertions(+), 290 deletions(-)
base-commit: d8af7cadaa79d5837d73ec949e10b57dedb43e9b
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-2036%2Fjnavila%2Fgit_submodule-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2036/jnavila/git_submodule-v2
Pull-Request: https://github.com/gitgitgadget/git/pull/2036
Range-diff vs v1:
 1:  05e68e2825 = 1:  05e68e2825 convert git-submodule doc to synopsis style
 2:  3a5b642d05 = 2:  3a5b642d05 doc: finalize git-clone documentation conversion to synopsis style
 3:  bcd6fcd119 = 3:  bcd6fcd119 doc: fix some style issues in git-clone and for-each-ref-options
 4:  d078e1d94f ! 4:  f6314e580d doc: convert git-show to synopsis style
     @@ Documentation/pretty-formats.adoc: config option to either another format name,
      ++
      +[synopsis]
      +--
     -+`<hash> <title-line>`
     ++<hash> <title-line>
      +--
       +
       This is designed to be as compact as possible.
     @@ Documentation/pretty-formats.adoc: colon and zero or more comma-separated option
       ++%(decorate:prefix=,suffix=,tag=,separator= )++
      ---
       
     --++%(describe++`[:<option>,...]`++)++::
     -+++%(`describe++``[:<option>,...]`++)++::
     + ++%(describe++`[:<option>,...]`++)++::
       human-readable name, like linkgit:git-describe[1]; empty string for
     - undescribable commits.  The `describe` string may be followed by a colon and
     +@@ Documentation/pretty-formats.adoc: undescribable commits.  The `describe` string may be followed by a colon and
       zero or more comma-separated options.  Descriptions can be inconsistent when
       tags are added or removed at the same time.
       +
     @@ Documentation/pretty-formats.adoc: multiple times, the last occurrence wins.
          the literal formatting codes described above. To use comma as
          separator one must use `%x2C` as it would otherwise be parsed as
          next option. E.g., +%(trailers:key=Ticket,separator=%x2C )+
     -    shows all trailer lines whose key is "Ticket" separated by a comma
     +-   shows all trailer lines whose key is "Ticket" separated by a comma
     ++   shows all trailer lines whose key is `Ticket` separated by a comma
          and a space.
      -** `unfold[=<bool>]`: make it behave as if interpret-trailer's `--unfold`
      +`unfold[=<bool>]`;; make it behave as if interpret-trailer's `--unfold`
-- 
gitgitgadget
Previous: Kristoffer HaugsbakkNext: Jean-Noël Avila via GitGitGadget
Message 14 of 38 in “doc: some more synopsis conversions and fixes”
  1. 0/4 doc: some more synopsis conversions and fixesJean-Noël Avila via GitGitGadget, Jan 23, 2026
  2. 1/4 convert git-submodule doc to synopsis styleJean-Noël Avila via GitGitGadget, Jan 23, 2026
  3. Kristoffer HaugsbakkFeb 1, 2026
  4. 2/4 doc: finalize git-clone documentation conversion to synopsis styleJean-Noël Avila via GitGitGadget, Jan 23, 2026
  5. Kristoffer HaugsbakkFeb 1, 2026
  6. Jean-Noël AVILAFeb 1, 2026
  7. Kristoffer HaugsbakkFeb 2, 2026
  8. 3/4 doc: fix some style issues in git-clone and for-each-ref-optionsJean-Noël Avila via GitGitGadget, Jan 23, 2026
  9. Kristoffer HaugsbakkFeb 1, 2026
  10. 4/4 doc: convert git-show to synopsis styleJean-Noël Avila via GitGitGadget, Jan 23, 2026
  11. Kristoffer HaugsbakkJan 25, 2026
  12. Jean-Noël AVILAJan 25, 2026
  13. Kristoffer HaugsbakkJan 26, 2026
  14. 0/4 doc: some more synopsis conversions and fixesJean-Noël Avila via GitGitGadget, Jan 26, 2026
  15. 1/4 convert git-submodule doc to synopsis styleJean-Noël Avila via GitGitGadget, Jan 26, 2026
  16. 2/4 doc: finalize git-clone documentation conversion to synopsis styleJean-Noël Avila via GitGitGadget, Jan 26, 2026
  17. 3/4 doc: fix some style issues in git-clone and for-each-ref-optionsJean-Noël Avila via GitGitGadget, Jan 26, 2026
  18. 4/4 doc: convert git-show to synopsis styleJean-Noël Avila via GitGitGadget, Jan 26, 2026
  19. Kristoffer HaugsbakkFeb 1, 2026
  20. Jean-Noël AVILAFeb 1, 2026
  21. 0/4 doc: some more synopsis conversions and fixesJean-Noël Avila via GitGitGadget, Feb 3, 2026
  22. 1/4 doc: convert git-submodule to synopsis styleJean-Noël Avila via GitGitGadget, Feb 3, 2026
  23. Kristoffer HaugsbakkFeb 3, 2026
  24. Jean-Noël AvilaFeb 6, 2026
  25. 2/4 doc: finalize git-clone documentation conversion to synopsis styleJean-Noël Avila via GitGitGadget, Feb 3, 2026
  26. Kristoffer HaugsbakkFeb 3, 2026
  27. 4/4 doc: convert git-show to synopsis styleJean-Noël Avila via GitGitGadget, Feb 3, 2026
  28. Kristoffer HaugsbakkFeb 3, 2026
  29. 3/4 doc: fix some style issues in git-clone and for-each-ref-optionsJean-Noël Avila via GitGitGadget, Feb 3, 2026
  30. Kristoffer HaugsbakkFeb 3, 2026
  31. Kristoffer HaugsbakkFeb 3, 2026
  32. Kristoffer HaugsbakkFeb 4, 2026
  33. 0/4 doc: some more synopsis conversions and fixesJean-Noël Avila via GitGitGadget, Feb 6, 2026
  34. 1/4 doc: convert git-submodule to synopsis styleJean-Noël Avila via GitGitGadget, Feb 6, 2026
  35. 2/4 doc: finalize git-clone documentation conversion to synopsis styleJean-Noël Avila via GitGitGadget, Feb 6, 2026
  36. 3/4 doc: fix some style issues in git-clone and for-each-ref-optionsJean-Noël Avila via GitGitGadget, Feb 6, 2026
  37. 4/4 doc: convert git-show to synopsis styleJean-Noël Avila via GitGitGadget, Feb 6, 2026
  38. Kristoffer HaugsbakkFeb 7, 2026

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.